mirror of https://github.com/ARMmbed/mbed-os.git
missing return
function would potentially send a reject and accept at the same timepull/7166/head
parent
d216602cbb
commit
bd8572e20f
|
@ -1144,6 +1144,7 @@ void GenericSecurityManager::on_pairing_request(
|
|||
/* cancel pairing if secure connection paring is not possible */
|
||||
if (!_legacy_pairing_allowed && !authentication.get_secure_connections()) {
|
||||
cancelPairingRequest(connection);
|
||||
return;
|
||||
}
|
||||
|
||||
ControlBlock_t *cb = get_control_block(connection);
|
||||
|
|
Loading…
Reference in New Issue