projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e8b506
)
Bluetooth: Fix userspace compatibility issue with mgmt interface
author
Gustavo Padovan
<
[email protected]
>
Thu, 29 Mar 2012 12:47:53 +0000
(09:47 -0300)
committer
Gustavo Padovan
<
[email protected]
>
Thu, 5 Apr 2012 18:05:51 +0000
(15:05 -0300)
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 <
[email protected]
>
Acked-by: Johan Hedberg <
[email protected]
>
Acked-by: Marcel Holtmann <
[email protected]
>
Signed-off-by: Gustavo Padovan <
[email protected]
>
include/net/bluetooth/hci.h
patch
|
blob
|
history
diff --git
a/include/net/bluetooth/hci.h
b/include/net/bluetooth/hci.h
index 8f928f75e85ee058e8e1672dd0fef0ff059c75a4..d47e523c9d83387460f905414952d81c54b8361e 100644
(file)
--- a/
include/net/bluetooth/hci.h
+++ b/
include/net/bluetooth/hci.h
@@
-1328,8
+1328,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;