]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: Drop L2CAP chan reference if ERTM ack_timer fired
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 11 Jan 2012 09:59:49 +0000 (10:59 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:26 +0000 (17:01 +0200)
commit09bfb2ee52a66845bbefad0b6eaeae1b5adea949
tree5890823d08a054114bbbfc750425b279b1cefef5
parent77f918bc7babb8473933ca0a6deefc64fe24b06c
Bluetooth: Drop L2CAP chan reference if ERTM ack_timer fired

Reference counter was incremented when starting ack timer but
decremented only when clearing timer, not when timer fired.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c