Bluetooth: Check earlier for L2CAP ERTM frames to drop
authorMat Martineau <mathewm@codeaurora.org>
Wed, 29 Jun 2011 21:35:19 +0000 (14:35 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:18:38 +0000 (12:18 -0800)
commit1e48ecd8c12f243efa8d951a028c1f6d408a6c9b
tree58e82828416e1e395ba5ef155ae25a77a5a9de87
parent24a3b36161b7b6fa74dde863238abb15356d71c7
Bluetooth: Check earlier for L2CAP ERTM frames to drop

Even when the received tx_seq is expected, the frame still needs to be
dropped if the TX window is exceeded or the receiver is in the local
busy state.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c