]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use async request for LE enable/disable
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 25 Sep 2013 10:26:08 +0000 (13:26 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 25 Sep 2013 17:30:11 +0000 (14:30 -0300)
commit6557caafe8ed00278cec8f1f65f94b624ccce87a
tree9b60cfe6d885c8095281a2e3c23ff2aabdfc1cdb
parent5fdd865941e319bbd6b5c1f97fe260f1514c6ddc
Bluetooth: Use async request for LE enable/disable

This patch updates the code to use an asynchronous request for handling
the enabling and disabling of LE support. This refactoring is necessary
as a preparation for adding advertising support, since when LE is
disabled we should also disable advertising, and the cleanest way to do
this is to perform the two respective HCI commands in the same
asynchronous request.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c