Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */