Skip to content

Commit e71f452

Browse files
fix missing return
1 parent 63887d1 commit e71f452

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

connectivity/FEATURE_BLE/source/generic/SecurityDb.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ class SecurityDb {
181181
entry_handle_t correct_handle = find_entry_by_peer_ediv_rand(ediv, rand);
182182
if (!correct_handle) {
183183
cb(*db_handle, NULL);
184+
return;
184185
}
185186
// Note: keys should never be null as a matching entry has been retrieved
186187
SecurityEntryKeys_t* keys = read_in_entry_local_keys(correct_handle);

0 commit comments

Comments
 (0)