Bluetooth: Simplify the ERTM ack timeout
authorMat Martineau <mathewm@codeaurora.org>
Fri, 18 May 2012 03:53:51 +0000 (20:53 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:05 +0000 (06:34 +0300)
commit0362520bf9d35f09c2693e14352f4b0ad07397fa
tree38e56e17724f20c767866009c0d89c3639f01492
parent80909e04de4dbbe76a220ccd5f9b32d8d5a8c22c
Bluetooth: Simplify the ERTM ack timeout

Since l2cap_send_ack can trigger extra actions like sending iframes,
don't call it.  Just send an RR or RNR frame if an ack needs sending.

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