mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-13 04:13:54 +00:00
hfp: ignore hci event that are out of context
This commit is contained in:
parent
2423506b38
commit
719aedb8b5
@ -694,6 +694,7 @@ void hfp_handle_hci_event(uint8_t packet_type, uint16_t channel, uint8_t *packet
|
|||||||
hfp_connection->hf_accept_sco = 1;
|
hfp_connection->hf_accept_sco = 1;
|
||||||
}
|
}
|
||||||
log_info("hf accept sco %u\n", hfp_connection->hf_accept_sco);
|
log_info("hf accept sco %u\n", hfp_connection->hf_accept_sco);
|
||||||
|
sco_establishment_active = hfp_connection;
|
||||||
if (!hfp_hf_run_for_context) break;
|
if (!hfp_hf_run_for_context) break;
|
||||||
(*hfp_hf_run_for_context)(hfp_connection);
|
(*hfp_hf_run_for_context)(hfp_connection);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user