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 179ad16 commit d5b8439Copy full SHA for d5b8439
features/FEATURE_BLE/source/generic/GenericSecurityManager.cpp
@@ -383,9 +383,7 @@ ble_error_t GenericSecurityManager::setLinkEncryption(
383
384
if (encryption == link_encryption_t::NOT_ENCRYPTED) {
385
386
- if (cb->encrypted) {
387
- return _pal.disable_encryption(connection);
388
- }
+ return _pal.disable_encryption(connection);
389
390
} else if (encryption == link_encryption_t::ENCRYPTED) {
391
0 commit comments