mirror of https://github.com/ARMmbed/mbed-os.git
removing erroneous (and redundant) check
this is gating on the wrong flag and the call doesn't require a check in the first placepull/6932/head
parent
08cb7aefd2
commit
69a0c10f00
|
|
@ -1603,14 +1603,12 @@ void GenericSecurityManager::on_ltk_request(
|
|||
return;
|
||||
}
|
||||
|
||||
if (flags->ltk_stored) {
|
||||
_db->get_entry_local_keys(
|
||||
mbed::callback(this, &GenericSecurityManager::set_ltk_cb),
|
||||
cb->db_entry,
|
||||
ediv,
|
||||
rand
|
||||
);
|
||||
}
|
||||
_db->get_entry_local_keys(
|
||||
mbed::callback(this, &GenericSecurityManager::set_ltk_cb),
|
||||
cb->db_entry,
|
||||
ediv,
|
||||
rand
|
||||
);
|
||||
}
|
||||
|
||||
/* control blocks list management */
|
||||
|
|
|
|||
Loading…
Reference in New Issue