From: Johan Hedberg Date: Wed, 24 Oct 2012 18:12:02 +0000 (+0300) Subject: Bluetooth: Add flag for LE GAP Peripheral role X-Git-Tag: next-20121025~59^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9d70924f25dd087272b5b329c3389ed5cd5fab91;p=karo-tx-linux.git Bluetooth: Add flag for LE GAP Peripheral role This patch adds a flag to be used for LE GAP Peripheral role. In this role undirected advertising will be enabled and operations not allowed in Peripheral role (such as scanning and initiating connections) will be disallowed. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 348f4bfeaadb..6c414f4302fe 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -115,6 +115,7 @@ enum { HCI_SSP_ENABLED, HCI_HS_ENABLED, HCI_LE_ENABLED, + HCI_LE_PERIPHERAL, HCI_CONNECTABLE, HCI_DISCOVERABLE, HCI_LINK_SECURITY,