mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-17 12:34:01 +00:00
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: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
3ad254f7f6
commit
7e67c112a0
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue