removing erroneous (and redundant) check

this is gating on the wrong flag and the call doesn't require a check in the first place
pull/6932/head
paul-szczepanek-arm 2018-05-22 14:37:02 +01:00
parent 08cb7aefd2
commit 69a0c10f00
1 changed files with 6 additions and 8 deletions

View File

@ -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 */