Bluetooth: Fix unset of RemoteBusy flag for L2CAP
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Tue, 15 Dec 2009 17:56:34 +0000 (15:56 -0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Dec 2009 20:04:08 +0000 (12:04 -0800)
commit186de9a33803c7ee20d9af75c9049b50e68a3a08
tree4ec1d2f0b8c7624271cbbff21c6b8b134203574f
parent971beb83aeb2a309175682cf5683d64fd4591841
Bluetooth: Fix unset of RemoteBusy flag for L2CAP

RemoteBusy flag need to be unset before l2cap_ertm_send(), otherwise
l2cap_ertm_send() will return without sending packets because it checks
that flag before start sending.

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