mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
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>
This commit is contained in:
parent
2e8b506310
commit
66f3b913e6
1 changed files with 1 additions and 1 deletions
|
@ -1328,8 +1328,8 @@ struct sockaddr_hci {
|
||||||
#define HCI_DEV_NONE 0xffff
|
#define HCI_DEV_NONE 0xffff
|
||||||
|
|
||||||
#define HCI_CHANNEL_RAW 0
|
#define HCI_CHANNEL_RAW 0
|
||||||
#define HCI_CHANNEL_CONTROL 1
|
|
||||||
#define HCI_CHANNEL_MONITOR 2
|
#define HCI_CHANNEL_MONITOR 2
|
||||||
|
#define HCI_CHANNEL_CONTROL 3
|
||||||
|
|
||||||
struct hci_filter {
|
struct hci_filter {
|
||||||
unsigned long type_mask;
|
unsigned long type_mask;
|
||||||
|
|
Loading…
Reference in a new issue