]> 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)
commitdd09e80b0c270cfa77b60e312d56daf78f1da9f4
treebbb5da005171f047c84033d078d7e50233578a97
parent6e4e65c69df761cf1b9f171e3e993f851f882d6b
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