linux/include/net/bluetooth
Mat Martineau 5a364bd399 Bluetooth: Improve ERTM sequence number offset calculation
Instead of using modular division, the offset can be calculated using
only addition and subtraction.  The previous calculation did not work
as intended and was more difficult to understand, involving unsigned
integer underflow and a check for a negative value where one was not
possible.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
2012-05-09 01:40:46 -03:00
..
bluetooth.h Bluetooth: Move address type macros to bluetooth.h 2012-05-09 01:40:42 -03:00
hci_core.h Bluetooth: Remove advertising cache 2012-05-09 01:40:46 -03:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci.h Bluetooth: Add HCI_PERIODIC_INQ to dev_flags 2012-05-09 00:41:35 -03:00
l2cap.h Bluetooth: Improve ERTM sequence number offset calculation 2012-05-09 01:40:46 -03:00
mgmt.h Bluetooth: Add management command for setting Device ID 2012-05-09 00:41:30 -03:00
rfcomm.h Bluetooth: rfcomm: Fix sleep in invalid context in rfcomm_security_cfm 2011-11-07 17:24:49 -02:00
sco.h Bluetooth: clean up legal text 2010-12-01 21:04:43 -02:00
smp.h Bluetooth: Correct ediv in SMP 2012-05-09 00:41:30 -03:00