提交 7e67c112 编写于 作者: M Marcel Holtmann 提交者: 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: NMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册