]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move non-critical sections outside of the dev lock
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Jan 2013 13:29:38 +0000 (15:29 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 10 Jan 2013 08:09:59 +0000 (06:09 -0200)
commitac14f588341bd5dd795308b9e761a60f2f934302
tree6bf0201d29c30f3c79650e4dc87ee1df6512bb63
parent96c5858982c3f4816e21a19276ac2bc99f197d4b
Bluetooth: Move non-critical sections outside of the dev lock

This patch fixes sections of code that do not need hci_lock_dev to be
outside of the lock. Such sections include code that do not touch the
hdev at all as well as sections which just read a single byte from the
supported_features value (i.e. all lmp_*_capable() macros).

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c