summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlain Michaud <alainm@chromium.org>2020-01-22 16:09:16 +0000
committerMarcel Holtmann <marcel@holtmann.org>2020-01-22 17:37:25 +0100
commitbdf2aca703e83eeecac2b492494687d5009a694e (patch)
tree8664b79da2e6a772f0454717ceae4c7d048dbf4c /net
parent117717e57440d2b5e07da40c621aa4f0ba423b80 (diff)
downloadlwn-bdf2aca703e83eeecac2b492494687d5009a694e.tar.gz
lwn-bdf2aca703e83eeecac2b492494687d5009a694e.zip
Bluetooth: adding missing const decoration to mgmt_status_table
This change simply adds a missing const decoration to the mtmt_status_table definition. Signed-off-by: Alain Michaud <alainm@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 0dc610faab70..3c68a366977f 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -176,7 +176,7 @@ static const u16 mgmt_untrusted_events[] = {
"\x00\x00\x00\x00\x00\x00\x00\x00"
/* HCI to MGMT error code conversion table */
-static u8 mgmt_status_table[] = {
+static const u8 mgmt_status_table[] = {
MGMT_STATUS_SUCCESS,
MGMT_STATUS_UNKNOWN_COMMAND, /* Unknown Command */
MGMT_STATUS_NOT_CONNECTED, /* No Connection */