]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Initialize variables and timers for both channel's sides
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Sat, 3 Oct 2009 05:34:36 +0000 (02:34 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Dec 2009 18:34:22 +0000 (19:34 +0100)
commitcadba6b284c1d161b542beec53da5a7dfe04cd13
tree223bb84f663f3d2b21c57b264085abcf83c0f4a1
parent3cdef5607d803e68a86771c3e5d3e45713cdb7cf
Bluetooth: Initialize variables and timers for both channel's sides

Fix ERTM's full-duplex channel to work as specified by ERTM spec. ERTM
needs to handle state vars, timers and counters to send and receive
I-frames(the data frames), i.e., for both sides of data communication.
We initialize all of them to the default values here.
Full-duplex channel is a mandatory feature of ERTM spec.

Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c