]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix deadlock with mgmt_pair_device
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Nov 2011 13:54:37 +0000 (15:54 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 10 Nov 2011 19:54:06 +0000 (17:54 -0200)
commit6a659634d1f9fb5374b15cade3ae81c6a04e2bf2
treeebfa3028bfeba47eb81840dd40d861b2bbbaaab4
parent8bd3da6d87d923058667a590b8629646e105a649
Bluetooth: Fix deadlock with mgmt_pair_device

The hci_conn callbacks are called with the hci_dev lock already held so
no locking should be attempted in them.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c