diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-08 00:21:06 +0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-07 23:03:38 -0200 |
commit | 0381101fd6a73c7d6b545044dc1472d019fc64e3 (patch) | |
tree | 8b7ec25d3e97e3bd7918135fa3fe3b29941e0db4 /include/net | |
parent | c02178d22b3ef2d18c38c96151600ee1c7ed94f0 (diff) | |
download | blackbird-op-linux-0381101fd6a73c7d6b545044dc1472d019fc64e3.tar.gz blackbird-op-linux-0381101fd6a73c7d6b545044dc1472d019fc64e3.zip |
Bluetooth: Add initial Bluetooth Management interface callbacks
Add initial code for handling Bluetooth Management interface messages.
Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 3e3435945980..1992fac7e921 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -660,6 +660,9 @@ void hci_si_event(struct hci_dev *hdev, int type, int dlen, void *data); /* ----- HCI Sockets ----- */ void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb); +/* Management interface */ +int mgmt_control(struct sock *sk, struct msghdr *msg, size_t len); + /* HCI info for socket */ #define hci_pi(sk) ((struct hci_pinfo *) sk) |