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:
5589fa9
)
Bluetooth: Fix initiated LE connections
author
Vinicius Costa Gomes
<
[email protected]
>
Fri, 11 Feb 2011 01:38:52 +0000
(22:38 -0300)
committer
Gustavo F. Padovan
<
[email protected]
>
Wed, 16 Feb 2011 19:33:10 +0000
(16:33 -0300)
Fix LE connections not being marked as master.
Signed-off-by: Vinicius Costa Gomes <
[email protected]
>
Acked-by: Marcel Holtmann <
[email protected]
>
Signed-off-by: Gustavo F. Padovan <
[email protected]
>
net/bluetooth/hci_conn.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_conn.c
b/net/bluetooth/hci_conn.c
index aecd78e6cceb06ca163e7de53d660dec51eb2e0d..efcd2b508f5d996764b87e81cb7c133b1364171b 100644
(file)
--- a/
net/bluetooth/hci_conn.c
+++ b/
net/bluetooth/hci_conn.c
@@
-52,6
+52,7
@@
static void hci_le_connect(struct hci_conn *conn)
conn->state = BT_CONNECT;
conn->out = 1;
+ conn->link_mode |= HCI_LM_MASTER;
memset(&cp, 0, sizeof(cp));
cp.scan_interval = cpu_to_le16(0x0004);