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)
commitc3f06755ca4279597cd58befd6c076ae2e3db480
treeebfa3028bfeba47eb81840dd40d861b2bbbaaab4
parent48264f06943e2db2c971b752949606f070d9d292
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