Bluetooth: Convert L2CAP ident spinlock into a mutex
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Jul 2014 18:50:15 +0000 (20:50 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Jul 2014 19:32:45 +0000 (22:32 +0300)
commit5a54e7c85b8303b84a9b2fbf978a74d625f85a99
tree2645770a8ce89f7d70ebf30eba3358f41ab39993
parente03ab5199df597d3f1737ef638a7f692daaaef9f
Bluetooth: Convert L2CAP ident spinlock into a mutex

The spinlock protecting the L2CAP ident number can be converted into
a mutex since the whole processing is run in a workqueue. So instead
of using a spinlock, just use a mutex here.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c