We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a79be commit cebc0f8Copy full SHA for cebc0f8
features/FEATURE_BLE/source/generic/GenericSecurityManager.cpp
@@ -377,6 +377,7 @@ ble_error_t GenericSecurityManager::setLinkEncryption(
377
378
/* ignore if the link is already at required state*/
379
if (current_encryption == encryption) {
380
+ eventHandler->linkEncryptionResult(connection, current_encryption);
381
return BLE_ERROR_NONE;
382
}
383
@@ -390,6 +391,7 @@ ble_error_t GenericSecurityManager::setLinkEncryption(
390
391
392
/* if already better than encrypted don't bother */
393
if (current_encryption == link_encryption_t::ENCRYPTED_WITH_MITM) {
394
395
396
397
cb->encryption_requested = true;
0 commit comments