mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 21:41:13 +00:00
gap: emit GAP_SUBEVENT_LE_CONNECTION_COMPLETE for failed outgoing connections
This commit is contained in:
parent
434260a167
commit
4dbe0476f2
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
### Fixed
|
||||
- GAP: allow use of own address type different from gap_random_set_mode() incl. RPA in LE Extended Advertising
|
||||
- GAP: emit GAP_SUBEVENT_LE_CONNECTION_COMPLETE for failed outgoing connections
|
||||
- SM: abort pairing with invalid parameter error for encryption key size > 16
|
||||
- SM: ignore Security Request after re-encryption has started
|
||||
- SM: respond to Pairing Request after Identity Resolution failed
|
||||
|
@ -3362,7 +3362,10 @@ static void hci_handle_le_connection_complete_event(const uint8_t * hci_event){
|
||||
btstack_linked_list_remove(&hci_stack->connections, (btstack_linked_item_t *) conn);
|
||||
btstack_memory_hci_connection_free( conn );
|
||||
}
|
||||
return;
|
||||
|
||||
// emit GAP_SUBEVENT_LE_CONNECTION_COMPLETE for error case
|
||||
hci_emit_event(gap_event, sizeof(gap_event), 1);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user