From 7b00dc76e18522fecc6c133fd9b46bbf2a5a065f Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 5 Apr 2004 15:00:19 +0200 Subject: [Bluetooth] Fix broken HCI security filter The HCI security filter is broken on 64-bit architectures and this patch restores the version from 2.4, which is working perfect on 32-bit and 64-bit machines. --- include/net/bluetooth/hci_core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index faddd520a69c..eed980fb1f1a 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -515,9 +515,9 @@ struct hci_pinfo { #define HCI_SFLT_MAX_OGF 5 struct hci_sec_filter { - unsigned long type_mask; - unsigned long event_mask[2]; - unsigned long ocf_mask[HCI_SFLT_MAX_OGF + 1][4]; + __u32 type_mask; + __u32 event_mask[2]; + __u32 ocf_mask[HCI_SFLT_MAX_OGF + 1][4]; }; /* ----- HCI requests ----- */ -- cgit v1.2.3