style fix

pull/6932/head
paul-szczepanek-arm 2018-03-29 16:24:20 +01:00
parent cfa53d5e6c
commit b979c4a2c8
1 changed files with 5 additions and 3 deletions

View File

@ -906,7 +906,9 @@ void GenericSecurityManager::on_valid_mic_timeout(connection_handle_t connection
(void)connection;
}
void GenericSecurityManager::on_signature_verification_failure(connection_handle_t connection) {
void GenericSecurityManager::on_signature_verification_failure(
connection_handle_t connection
) {
ControlBlock_t *cb = get_control_block(connection);
if (!cb) {
return;
@ -921,9 +923,9 @@ void GenericSecurityManager::on_signature_verification_failure(connection_handle
if (cb->csrk_failures == 3) {
cb->csrk_failures = 0;
if (cb->is_master) {
requestPairing(connection);
requestPairing(connection);
} else {
slave_security_request(connection);
slave_security_request(connection);
}
}
}