summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-15 03:28:00 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2015-03-15 08:57:31 +0100
commitc85be545ea23a4fe590c89683242a9be823394e0 (patch)
tree3807191476a15efd18b7d6b4468fc0eed770ab47 /include/net/bluetooth
parentBluetooth: Consolidate socket channel sending function back into one (diff)
downloadlinux-c85be545ea23a4fe590c89683242a9be823394e0.tar.xz
linux-c85be545ea23a4fe590c89683242a9be823394e0.zip
Bluetooth: Add hci_sock_test_flag helper function
The management interface will need access to the socket flags and so provide a helper function for checking them. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/bluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index ae1f2ee1eaf3..d871ba313f64 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -337,6 +337,7 @@ int bt_to_errno(__u16 code);
void hci_sock_set_flag(struct sock *sk, int nr);
void hci_sock_clear_flag(struct sock *sk, int nr);
+int hci_sock_test_flag(struct sock *sk, int nr);
int hci_sock_init(void);
void hci_sock_cleanup(void);