Skip to content

Commit 766b876

Browse files
committed
BLE: Accept pairing request when the user authorization is not required.
1 parent f9a79be commit 766b876

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features/FEATURE_BLE/source/generic/GenericSecurityManager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,8 @@ void GenericSecurityManager::on_pairing_request(
863863

864864
if (_pairing_authorisation_required) {
865865
eventHandler->pairingRequest(connection);
866+
} else {
867+
acceptPairingRequest(connection);
866868
}
867869
}
868870

0 commit comments

Comments
 (0)