Bluetooth: Use the ERTM transmit state machine from timeout handlers
authorMat Martineau <mathewm@codeaurora.org>
Fri, 18 May 2012 03:53:50 +0000 (20:53 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:04 +0000 (06:34 +0300)
commit80909e04de4dbbe76a220ccd5f9b32d8d5a8c22c
treea1a287e9d6250a028e950a0b78f85b2533e29185
parent4239d16f360ce4c8a1798508dd171ebce93985ba
Bluetooth: Use the ERTM transmit state machine from timeout handlers

Different states have different actions for retransmit and monitor
timeouts, so remove the logic for those actions from the timer handlers.

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