]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add missing hci_dev locking when calling mgmt functions
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 8 Nov 2011 18:40:16 +0000 (20:40 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 9 Nov 2011 14:33:46 +0000 (12:33 -0200)
commit96b808cf155ae722666f2d497dc29534401d6f9b
tree87e57ea9c98f2663a359717b658c05d0ee2fecac
parenta6ff292d394144921381bc787834164921bd899e
Bluetooth: Add missing hci_dev locking when calling mgmt functions

Now that the pending commands are within struct hci_dev we can properly
control access to them throught the hci_dev locking mechanism.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c