aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo@padovan.org>2012-03-29 08:47:53 -0400
committerGustavo Padovan <gustavo@padovan.org>2012-04-05 14:05:51 -0400
commit66f3b913e68e8e62bd2f9499495eeb6cc81b2662 (patch)
treeede083c071261502b9281c42c069e0ce61937e6e /include/net
parent2e8b506310f6433d5558387fd568d4bfb1d6a799 (diff)
Bluetooth: Fix userspace compatibility issue with mgmt interface
To ensure that old user space versions do not accidentally pick up and try to use the management channel, use a different channel number. Reported-by: Keith Packard <keithp@keithp.com> Acked-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 8f928f75e85e..d47e523c9d83 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1328,8 +1328,8 @@ struct sockaddr_hci {
1328#define HCI_DEV_NONE 0xffff 1328#define HCI_DEV_NONE 0xffff
1329 1329
1330#define HCI_CHANNEL_RAW 0 1330#define HCI_CHANNEL_RAW 0
1331#define HCI_CHANNEL_CONTROL 1
1332#define HCI_CHANNEL_MONITOR 2 1331#define HCI_CHANNEL_MONITOR 2
1332#define HCI_CHANNEL_CONTROL 3
1333 1333
1334struct hci_filter { 1334struct hci_filter {
1335 unsigned long type_mask; 1335 unsigned long type_mask;