Bluetooth: Fix missing hci_dev_lock_bh in user_confirm_reply
authorJohan Hedberg <johan.hedberg@nokia.com>
Wed, 16 Mar 2011 12:29:34 +0000 (14:29 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 31 Mar 2011 17:25:25 +0000 (14:25 -0300)
commit08ba53824a7fb224085a0ff73eab213cab0197e9
treecc3f837d1862870fa1f6b597a91958351c5a71fd
parent8693ac900e230c85d6fff428984a0f983330844d
Bluetooth: Fix missing hci_dev_lock_bh in user_confirm_reply

The code was correctly calling _unlock at the end of the function but
there was no actual _lock call anywhere.

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