]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update l2cap_send_i_or_rr_or_rnr to fit the spec better
authorMat Martineau <mathewm@codeaurora.org>
Fri, 18 May 2012 03:53:41 +0000 (20:53 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:03 +0000 (06:34 +0300)
commit6d3ed7cf105fde81badaef0640b77083bbd6409c
tree4817376d779766ff6a581aff8127f7126ccd6ada
parentf91dd170c8e1d82d35ed28b583efcfd978020941
Bluetooth: Update l2cap_send_i_or_rr_or_rnr to fit the spec better

This action now exactly matches what is defined in the ERTM
specification, including clearing the remote busy flag and setting the
retransmit timer rather than retransmitting frames directly.  The spec
does not retransmit frames as part of this action, since
retransmission is only triggered by REJ, SREJ, or an RR with the final
bit set.  struct l2cap_ctrl is also used to set up header values.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c