mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Accept pairing request when the user authorization is not required.
parent
f9a79bed15
commit
766b8765ad
|
@ -863,6 +863,8 @@ void GenericSecurityManager::on_pairing_request(
|
|||
|
||||
if (_pairing_authorisation_required) {
|
||||
eventHandler->pairingRequest(connection);
|
||||
} else {
|
||||
acceptPairingRequest(connection);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue