diff options
author | Johan Hedberg | 2010-12-29 15:00:25 +0100 |
---|---|---|
committer | Gustavo F. Padovan | 2011-02-08 04:40:04 +0100 |
commit | 73f22f62388795c0f6b4f3f97bda7a64f9681aac (patch) | |
tree | 5e85471cd9411a9f21cd2f7bb722be196a23f7c7 /include/net/bluetooth/hci_core.h | |
parent | Bluetooth: Add support for set_powered management command (diff) | |
download | kernel-qcow2-linux-73f22f62388795c0f6b4f3f97bda7a64f9681aac.tar.gz kernel-qcow2-linux-73f22f62388795c0f6b4f3f97bda7a64f9681aac.tar.xz kernel-qcow2-linux-73f22f62388795c0f6b4f3f97bda7a64f9681aac.zip |
Bluetooth: Add support for set_discoverable management command
This patch adds a set_discoverable command to the management interface
as well as the corresponding event. The command is used to control the
discoverable state of adapters.
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_core.h')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 2d046e07a586..ee5ec4f17a15 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -675,6 +675,7 @@ int mgmt_control(struct sock *sk, struct msghdr *msg, size_t len); int mgmt_index_added(u16 index); int mgmt_index_removed(u16 index); int mgmt_powered(u16 index, u8 powered); +int mgmt_discoverable(u16 index, u8 discoverable); /* HCI info for socket */ #define hci_pi(sk) ((struct hci_pinfo *) sk) |