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>
Mon, 19 Nov 2012 01:03:01 +0000 (23:03 -0200)
commitc1d5dc4ac15be45c7061e207f06ad8dfba0c2170
tree5d5cca115c893e3ecf7f6839ebc3346a4db64523
parent3f0f524bafcd2025c12e215f13207c7be0a13bf9
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
This page took 0.025866 seconds and 5 git commands to generate.