Bluetooth: Fix expected_tx_seq calculation on L2CAP
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:36 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:46 +0000 (09:28 +0200)
commit7dffe4210233a2860c3f41477c40b3252edf2b7d
treef86182be172eca9677d319bcd03e71b03b202a4a
parentfaaebd192ec9c3febcab98149d1309199a5b886c
Bluetooth: Fix expected_tx_seq calculation on L2CAP

All operation related to the txWindow should be modulo 64.

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