diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2004-04-05 15:00:19 +0200 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2004-04-05 15:00:19 +0200 |
| commit | 7b00dc76e18522fecc6c133fd9b46bbf2a5a065f (patch) | |
| tree | 0b769dcc2791a132d80c3e82a7f6953d1d869126 /include/net/bluetooth | |
| parent | e2a786731a0ceb852224bf83c008eed45e7b196d (diff) | |
[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.
Diffstat (limited to 'include/net/bluetooth')
| -rw-r--r-- | include/net/bluetooth/hci_core.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 ----- */ |
