Bluetooth: Ack L2CAP I-frames before retransmit missing packet
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Tue, 15 Dec 2009 22:13:27 +0000 (20:13 -0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Dec 2009 20:06:23 +0000 (12:06 -0800)
commit186ee8cf0130993dea8ab8867ff1af8a148f9ae6
treedd65c1c454625194b85f6c458ccf96c1a7ef062a
parent186de9a33803c7ee20d9af75c9049b50e68a3a08
Bluetooth: Ack L2CAP I-frames before retransmit missing packet

Moving the Ack to before l2cap_retransmit_frame() we can avoid the
case where txWindow is full and the packet can't be retransmited.

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