Commit 7e67c112 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg

Bluetooth: Delcare the hci_sec_filter as const

The hci_sec_filter socket filter details do not change. They are fixed
and with that they can also be delcared as const.
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 3ad254f7
......@@ -49,7 +49,7 @@ struct hci_sec_filter {
__u32 ocf_mask[HCI_SFLT_MAX_OGF + 1][4];
};
static struct hci_sec_filter hci_sec_filter = {
static const struct hci_sec_filter hci_sec_filter = {
/* Packet types */
0x10,
/* Events */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment