sm: don't disconnect on authentication failure

This commit is contained in:
Matthias Ringwald 2020-11-12 18:27:26 +01:00
parent 175b7faa75
commit 408cf7d807
2 changed files with 1 additions and 5 deletions

View File

@ -48,6 +48,7 @@ AVRCP Controller: allow to send multiple absolute volume commands without waitin
### Changed
- SM: Cross-Transport Key Derivation requires `ENABLE_CROSS_TRANSPORT_KEY_DERIVATION` now
- SM: block connection if encryption fails for bonded devices as Central
- SM: support pairing as Central after failed re-ecnryption
## Changes September 2020

View File

@ -3525,11 +3525,6 @@ static void sm_event_packet_handler (uint8_t packet_type, uint16_t channel, uint
sm_done_for_handle(sm_conn->sm_handle);
// abort/disconnect on authentication failure
if (status == ERROR_CODE_AUTHENTICATION_FAILURE){
// gap disconnect with authentication failure
hci_disconnect_security_block(con_handle);
}
break;
case SM_PH2_W4_CONNECTION_ENCRYPTED: