aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-12-08 00:21:06 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2010-12-07 23:03:38 -0200
commit0381101fd6a73c7d6b545044dc1472d019fc64e3 (patch)
tree8b7ec25d3e97e3bd7918135fa3fe3b29941e0db4 /include/net
parentc02178d22b3ef2d18c38c96151600ee1c7ed94f0 (diff)
downloadkernel_samsung_aries-0381101fd6a73c7d6b545044dc1472d019fc64e3.zip
kernel_samsung_aries-0381101fd6a73c7d6b545044dc1472d019fc64e3.tar.gz
kernel_samsung_aries-0381101fd6a73c7d6b545044dc1472d019fc64e3.tar.bz2
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 3e34359..1992fac 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)