fix erroneous assert

pull/7089/head
paul-szczepanek-arm 2018-06-01 14:33:13 +01:00
parent ff7b13837f
commit e534f3b997
1 changed files with 1 additions and 1 deletions

View File

@ -1266,7 +1266,7 @@ void nRF5xGap::on_connection(Gap::Handle_t handle, const ble_gap_evt_connected_t
const resolving_list_entry_t* entry = get_sm().resolve_address(
evt.peer_addr.addr
);
MBED_ASSERT(entry == NULL);
MBED_ASSERT(entry != NULL);
peer_addr_type = convert_identity_address(entry->peer_identity_address_type);
peer_address = entry->peer_identity_address.data();