Thread (25 messages) 25 messages, 3 authors, 2013-09-28

Re: [PATCH 6/8] Bluetooth: Use async request for LE enable/disable

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2013-09-24 18:20:33

Hi Johan,
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 <redacted>
---
include/net/bluetooth/hci_core.h |  1 -
net/bluetooth/hci_event.c        | 11 -------
net/bluetooth/mgmt.c             | 69 +++++++++++++++++-----------------------
3 files changed, 29 insertions(+), 52 deletions(-)
Acked-by: Marcel Holtmann <marcel@holtmann.org>

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help