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 40a403e commit 2860365Copy full SHA for 2860365
features/FEATURE_BLE/source/generic/GenericSecurityManager.cpp
@@ -448,8 +448,8 @@ ble_error_t GenericSecurityManager::setLinkEncryption(
448
} else if (encryption == link_encryption_t::ENCRYPTED_WITH_SC_AND_MITM) {
449
450
if (cb->ltk_mitm_protected &&
451
- cb->secure_connections_paired && !
452
- cb->encrypted
+ cb->secure_connections_paired &&
+ !cb->encrypted
453
) {
454
cb->encryption_requested = true;
455
return enable_encryption(connection);
0 commit comments