]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
Bluetooth: Remove unnecessary hci_dev_unlock for smp_user_confirm_reply
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 27 Jun 2014 11:23:05 +0000 (14:23 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:47 +0000 (17:42 +0200)
commita9999348e70ebaf5ceaad8f23611d40a6db1e3bc
tree9e9f013bb53bb49d883a6fd588d580595f5b8f75
parentec70f36f8b17dd21c0d64af4481aa3c898c1cec7
Bluetooth: Remove unnecessary hci_dev_unlock for smp_user_confirm_reply

Now that the SMP context has it's own crypto handle it doesn't need to
lock the hci_dev anymore for most operations. This means that it is safe
to call smp_user_confirm_reply with the lock already held.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c