]> 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)
commit970c44bc17ddaef024f1953f8494904ec50c1593
tree6bf0201d29c30f3c79650e4dc87ee1df6512bb63
parent0406b778ade0abbffdd5adea2f528da94760e200
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