diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2011-01-26 06:11:03 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-07 22:40:05 -0500 |
commit | c542a06c29acbf4ea0024884a198065a10613147 (patch) | |
tree | 0e680582a90e9384364a9c6f4dc2c475339a472e /include/net/bluetooth/hci.h | |
parent | 053f0211d3b1a991f06a7b4aec5b762e42d7c6a4 (diff) |
Bluetooth: Implement set_pairable managment command
This patch implements a new set_pairable management command to control
the pairable state of local adapters. The state is represented using a
new HCI_PAIRABLE flag in the hci_dev struct.
For backwards compatibility with older user space versions the
HCI_PAIRABLE flag gets automatically set when the existence of an
adapter is reported to user space through legacy methods and the
HCI_MGMT flag is not set.
Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r-- | include/net/bluetooth/hci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 469f8fdb2f5d..f0c25b5ba4b2 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
@@ -80,6 +80,7 @@ enum { | |||
80 | HCI_SETUP, | 80 | HCI_SETUP, |
81 | HCI_AUTO_OFF, | 81 | HCI_AUTO_OFF, |
82 | HCI_MGMT, | 82 | HCI_MGMT, |
83 | HCI_PAIRABLE, | ||
83 | }; | 84 | }; |
84 | 85 | ||
85 | /* HCI ioctl defines */ | 86 | /* HCI ioctl defines */ |