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)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 1 Jul 2011 19:13:20 +0000 (16:13 -0300)
commit02f1b641060486df8eecd66b060ae6551f398593
tree07518b00fdfc12714f6684753ff9102144d1e515
parentf8c1fbdb767f7487983b369a0b07ddc82b29f709
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