diff --git a/features/FEATURE_BLE/ble/pal/MemorySecurityDB.h b/features/FEATURE_BLE/ble/pal/MemorySecurityDB.h index afb63f418d..24783f42c9 100644 --- a/features/FEATURE_BLE/ble/pal/MemorySecurityDB.h +++ b/features/FEATURE_BLE/ble/pal/MemorySecurityDB.h @@ -238,7 +238,7 @@ public: if (entry) { entry->state = ENTRY_WRITTEN; entry->peer_identity.irk = irk; - entry->flags.irk_stored; + entry->flags.irk_stored = true; } }