diff options
author | Gustavo Padovan <gustavo@padovan.org> | 2012-03-29 09:47:53 -0300 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2012-04-18 19:58:48 +0530 |
commit | 7e7705af0bc4837c69f2571421236cb2614bf66a (patch) | |
tree | 771ade31b2d03967006d4a1be2573a1d2d56ac99 /include/net/bluetooth | |
parent | 579c7d4fab092b55b7fd4574113617644485bd1e (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/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 8e419ef08dad..dceb5fa999f5 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -1331,8 +1331,8 @@ struct sockaddr_hci { #define HCI_DEV_NONE 0xffff #define HCI_CHANNEL_RAW 0 -#define HCI_CHANNEL_CONTROL 1 #define HCI_CHANNEL_MONITOR 2 +#define HCI_CHANNEL_CONTROL 3 struct hci_filter { unsigned long type_mask; |