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)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:28 +0000 (11:59 -0700)
commit758b9e9a24102a8dc2c5ea065c8548305f2bd9a3
treec69a72d244ae6ea96858ab81d765bf7e13b2914e
parent0ea110d6ef43b593f8a2785444a3556228485086
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