From 0b923978405cee28dece81bc0e54a525271a59e7 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Fri, 20 Apr 2018 10:22:13 +0100 Subject: [PATCH] BLE: Fix flag IRK stored in Memory security DB. --- features/FEATURE_BLE/ble/pal/MemorySecurityDB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }