]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f757974cea8ca0d65f476c8d2bd9674dceb003f
treebbb5da005171f047c84033d078d7e50233578a97
parentb6bc13a471a8bb9864c77a1f8e3723af8ae39cde
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