Bluetooth: keep reference if any ERTM timer is enabled
authorGustavo F. Padovan <padovan@profusion.mobi>
Tue, 17 May 2011 18:13:19 +0000 (15:13 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 13 Jun 2011 17:55:33 +0000 (14:55 -0300)
commit1a09bcb97ca1b4eb9a6ea381fbc3beb7a9d2895d
tree6983ee0f5f57e0dc2ba5a75fbfcfdfdc2191ef48
parentc9b66675373e6edb2dc291562ce1fa05f7980102
Bluetooth: keep reference if any ERTM timer is enabled

ERTM use the generic L2CAP timer functions to keep a reference to the
channel. This is useful for avoiding crashes.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c