Bluetooth: Add l2cap_chan_lock
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 21 Feb 2012 10:54:56 +0000 (12:54 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:06:58 +0000 (13:06 +0200)
commitc03b355ea2938495bbdf25a4645be545be8890f4
treec3f0516e08150f724a84787330439729f1f38c1b
parent3df91ea20e744344100b10ae69a17211fcf5b207
Bluetooth: Add l2cap_chan_lock

Channel lock will be used to lock L2CAP channels which are locked
currently by socket locks.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Reviewed-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c