Bluetooth: Check rules when setting retransmit or monitor timers
authorMat Martineau <mathewm@codeaurora.org>
Fri, 18 May 2012 03:53:49 +0000 (20:53 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:04 +0000 (06:34 +0300)
commit4239d16f360ce4c8a1798508dd171ebce93985ba
tree0f9afa1c2a3c946a4c21d136fd157f5e7b94d53c
parentc9e3d5e00408c96f82b88a8de5d54f7a1343b110
Bluetooth: Check rules when setting retransmit or monitor timers

The ERTM specification requires the retransmit timer to be cancelled
when the monitor timer is set.  The retransmit timer cannot be set
again while the monitor timer is pending.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c