You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/06/15 02:27:41 UTC

[19/50] [abbrv] incubator-mynewt-core git commit: BLE Host - SM: Remove accidental assignment.

BLE Host - SM: Remove accidental assignment.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/6695d0c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/6695d0c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/6695d0c3

Branch: refs/heads/develop
Commit: 6695d0c3810191c7f25314ab566a59ba2128d0ca
Parents: d986a27
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Jun 8 09:55:36 2016 +0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue Jun 14 19:23:35 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/src/ble_sm.c | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/6695d0c3/net/nimble/host/src/ble_sm.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_sm.c b/net/nimble/host/src/ble_sm.c
index 3c8f1b3..aecf98a 100644
--- a/net/nimble/host/src/ble_sm.c
+++ b/net/nimble/host/src/ble_sm.c
@@ -1674,7 +1674,6 @@ ble_sm_sec_req_rx(uint16_t conn_handle, uint8_t op, struct os_mbuf **om,
                           NULL, NULL, NULL, NULL,
                           NULL, NULL, &key_sec.peer_addr_type, &peer_id_addr);
         memset(&key_sec, 0, sizeof key_sec);
-        key_sec.peer_addr_type = conn->bhc_addr_type;
         memcpy(key_sec.peer_addr, peer_id_addr, 6);
     }