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 7e2f5ee commit e29ea95Copy full SHA for e29ea95
features/FEATURE_BLE/source/generic/GenericSecurityManager.cpp
@@ -383,7 +383,7 @@ ble_error_t GenericSecurityManager::setLinkEncryption(
383
384
if (encryption == link_encryption_t::NOT_ENCRYPTED) {
385
386
- return _pal.disable_encryption(connection);
+ return BLE_ERROR_INVALID_STATE;
387
388
} else if (encryption == link_encryption_t::ENCRYPTED) {
389
0 commit comments