]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Fix updating advertising state flags and data
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 8 Nov 2012 00:23:01 +0000 (01:23 +0100)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 10 Nov 2012 18:21:52 +0000 (19:21 +0100)
commit51874640bcfbecf9827a49c910a932e3d7bcaba4
tree14d4eb16f0d68536e9e10ff57b4fddd54a2f0e46
parent50cdf2cc0a6db487180f69f8b7953bedc6d58efc
Bluetooth: Fix updating advertising state flags and data

This patch adds a callback for the HCI_LE_Set_Advertise_Enable command.
The callback is responsible for updating the HCI_LE_PERIPHERAL flag
updating as well as updating the advertising data flags field to
indicate undirected connectable advertising.

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.h
net/bluetooth/hci_event.c