]> 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)
commit81476fde91d50887e6b9959256af3fae77d5ccac
tree9b60cfe6d885c8095281a2e3c23ff2aabdfc1cdb
parent07c40cb94e8785a7156743ed8a67d7764d911cc1
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