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 81cb1f9 commit 6833c79Copy full SHA for 6833c79
features/FEATURE_BLE/source/generic/GenericSecurityManager.cpp
@@ -867,7 +867,7 @@ void GenericSecurityManager::on_slave_security_request(
867
868
if (pairing_required) {
869
requestPairing(connection);
870
- } else {
+ } else if (!cb->encryption_requested) {
871
/* this will refresh keys if encryption is already present */
872
enable_encryption(connection);
873
}
0 commit comments