mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-03 20:54:18 +00:00
hci_transport_h4: avoid calling hci_transport_h4_trigger_next_read when transport is closed
This commit is contained in:
parent
88dd0c2f70
commit
ad254f5df7
@ -288,8 +288,10 @@ static void hci_transport_h4_block_read(void){
|
||||
packet_handler(hci_packet[0], &hci_packet[1], read_pos-1);
|
||||
hci_transport_h4_reset_statemachine();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
case H4_OFF:
|
||||
bytes_to_read = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_BAUDRATE_CHANGE_FLOWCONTROL_BUG_WORKAROUND
|
||||
|
Loading…
x
Reference in New Issue
Block a user