From 79a210b7c77407a70b160786ea3a188ac8bad341 Mon Sep 17 00:00:00 2001 From: Andre Guedes Date: Tue, 31 May 2011 14:20:57 -0300 Subject: [PATCH] --- yaml --- r: 255708 b: refs/heads/master c: 6d3ce0e7902314ddb330deaf8827205881d7e59f h: refs/heads/master 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 b70159fdb6ed..a62cebbe1f91 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: eda42b503a3c866d51146549fe46da1f5f64e2c7 +refs/heads/master: 6d3ce0e7902314ddb330deaf8827205881d7e59f diff --git a/trunk/net/bluetooth/hci_conn.c b/trunk/net/bluetooth/hci_conn.c index 4e38b4872865..ce67d0ff486f 100644 --- a/trunk/net/bluetooth/hci_conn.c +++ b/trunk/net/bluetooth/hci_conn.c @@ -58,6 +58,7 @@ static void hci_le_connect(struct hci_conn *conn) cp.scan_interval = cpu_to_le16(0x0004); cp.scan_window = cpu_to_le16(0x0004); bacpy(&cp.peer_addr, &conn->dst); + cp.peer_addr_type = conn->dst_type; cp.conn_interval_min = cpu_to_le16(0x0008); cp.conn_interval_max = cpu_to_le16(0x0100); cp.supervision_timeout = cpu_to_le16(0x0064);