mirror of https://github.com/ARMmbed/mbed-os.git
check that flags have the IRK stored before retrieving it
parent
74aec930e6
commit
265132c5a8
|
@ -588,7 +588,7 @@ public:
|
|||
entry_handle_t db_handle = get_entry_handle_by_index(i);
|
||||
SecurityDistributionFlags_t* flags = get_distribution_flags(db_handle);
|
||||
|
||||
if (!flags) {
|
||||
if (!flags || !flags->irk_stored) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue