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)
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>

No differences found