]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix handle of received P-bit
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 29 May 2010 05:24:35 +0000 (02:24 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:06 +0000 (10:39 -0700)
commit89954d1dedd7dccb49c38d6cd5cfebf9fb163508
treed8287b65d2f01ebb352fce02e1046c8377582398
parent344341bcce6b374a0a2ecbc9863425f06b1f1141
Bluetooth: Fix handle of received P-bit

ERTM spec mandates that after receive a P-bit we shall send an F-bit in
response. This patch fixes this for retransmitted packets, on
retransmitting we were missing to check for a pending F-bit to be sent.
Also we were missing some annotation to send a F-bit.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c