]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix bug with ERTM vars increment
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 10 May 2010 22:34:11 +0000 (19:34 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:04 +0000 (10:39 -0700)
commit37c2e62c0ec0d6c5c2a2e1221f1dc114920708c6
tree49503c86fc8403d7a7dd95a5df4411ec8d3207c3
parent97f09ae3aa9e7b6c4d839eaeadff0cab0d58dd55
Bluetooth: Fix bug with ERTM vars increment

All ERTM operations regarding the txWindow should be modulo 64,
otherwise we confuse the ERTM logic and connections will break.

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