summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-11 05:36:39 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-11 12:54:17 +0200
commit3ad254f7f6fd3b66ce47a156cbb92cb02002103e (patch)
treed20981eab1de9d1add4037cc33e5537b90189600 /include/net/bluetooth
parentBluetooth: Move HCI socket definitions into its own header file (diff)
downloadlinux-3ad254f7f6fd3b66ce47a156cbb92cb02002103e.tar.xz
linux-3ad254f7f6fd3b66ce47a156cbb92cb02002103e.zip
Bluetooth: Move struct hci_sec_filter next to its user
There is only single location using struct hci_sec_filter and with that there is no point in putting this declaration into a global header file. So move it right next to its user and make the code a lot more simpler. 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/hci_core.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 5c52a17d6326..e1930749fac7 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1360,15 +1360,6 @@ struct hci_pinfo {
unsigned short channel;
};
-/* HCI security filter */
-#define HCI_SFLT_MAX_OGF 5
-
-struct hci_sec_filter {
- __u32 type_mask;
- __u32 event_mask[2];
- __u32 ocf_mask[HCI_SFLT_MAX_OGF + 1][4];
-};
-
/* ----- HCI requests ----- */
#define HCI_REQ_DONE 0
#define HCI_REQ_PEND 1