Bluetooth: fix bt_accept_dequeue() to work in process context
authorGustavo F. Padovan <padovan@profusion.mobi>
Tue, 20 Dec 2011 19:15:56 +0000 (17:15 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 22 Dec 2011 16:02:08 +0000 (14:02 -0200)
commit8a154a8feb805394d1fd46281becaf876e18860a
tree815452c2ed7e46941bc04a6d9100ebd75c00ec39
parentf1e91e1640d808d332498a6b09b2bcd01462eff9
Bluetooth: fix bt_accept_dequeue() to work in process context

No local_bh_disable is needed there once we run everything in process
context. The same goes for the replacement of bh_lock_sock() by
lock_sock().

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/af_bluetooth.c