Bluetooth: Reduce critical region.
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 9 Sep 2011 21:56:24 +0000 (18:56 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Sep 2011 15:59:16 +0000 (12:59 -0300)
commita8f13c8cd2c732828e5da735c204447a55cdab03
treebbb5da005171f047c84033d078d7e50233578a97
parent51beabdf624df14d0805b001d3f939629b70d9db
Bluetooth: Reduce critical region.

This patch reduces the critial region (protected by hdev->lock) in
hci_cc_le_set_scan_enable(). This way, only really required code is
synchronized.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c