mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-16 22:21:21 +00:00
restore num_packets for resend of HCI Reset
This commit is contained in:
parent
0305bdeab4
commit
7b0d76671f
@ -814,7 +814,9 @@ void le_handle_advertisement_report(uint8_t *packet, int size){
|
||||
static void hci_initialization_timeout_handler(timer_source_t * ds){
|
||||
switch (hci_stack->substate){
|
||||
case HCI_INIT_W4_SEND_RESET:
|
||||
log_info("Resend HCI Reset");
|
||||
hci_stack->substate = HCI_INIT_SEND_RESET;
|
||||
hci_stack->num_cmd_packets = 1;
|
||||
hci_run();
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user