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, 24 Mar 2011 20:04:44 +0000 (17:04 -0300)
commit6994ca5e8ade57d18b7d1e05aad040c441a2ad37
tree8a292dfc7e19c9ddeb605297aa3fcf89bca784f8
parent8763b4da41132e2d5a896cd5e629c3c0a652205e
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