From b0f806d70a6fb15a4626d224cec4067674c31c5c Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Thu, 10 Feb 2011 22:38:52 -0300 Subject: [PATCH] --- yaml --- r: 237397 b: refs/heads/master c: b92a62238ff2d3fb88cf0f6de454f3d1b4ae5d52 h: refs/heads/master i: 237395: 33744c7b6bcf5a46df550e3be25e48326aaf66e6 v: v3 --- [refs] | 2 +- trunk/net/bluetooth/hci_conn.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e24cc643c7dc..1ef3034ba2cd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5589fa9c2d2b8c134f44db36892ccc500aac3147 +refs/heads/master: b92a62238ff2d3fb88cf0f6de454f3d1b4ae5d52 diff --git a/trunk/net/bluetooth/hci_conn.c b/trunk/net/bluetooth/hci_conn.c index aecd78e6cceb..efcd2b508f5d 100644 --- a/trunk/net/bluetooth/hci_conn.c +++ b/trunk/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);