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/08 01:56:05 UTC

incubator-mynewt-core git commit: BLE Host - SM: Remove accidental assignment.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/upf54 dc76ec57e -> f4c26e280


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/f4c26e28
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f4c26e28
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/f4c26e28

Branch: refs/heads/upf54
Commit: f4c26e280f5a92e0aa71d9c6dcbcd0d6b87e7351
Parents: dc76ec5
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Jun 8 09:55:36 2016 +0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Jun 8 09:55:36 2016 +0800

----------------------------------------------------------------------
 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/f4c26e28/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);
     }