mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 12:40:42 +00:00
sm: don't disconnect on authentication failure
This commit is contained in:
parent
175b7faa75
commit
408cf7d807
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user