Merge branch 'bugfix/btdm_fix_ble_cannt_send_or_receive_packet_sometimes' into 'master'
Component/bt: fix ble cannot send or receive packet sometimes See merge request idf/esp-idf!3585
This commit is contained in:
commit
b601fcfde0
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ static int host_recv_pkt_cb(uint8_t *data, uint16_t len)
|
||||||
pkt->layer_specific = 0;
|
pkt->layer_specific = 0;
|
||||||
memcpy(pkt->data, data, len);
|
memcpy(pkt->data, data, len);
|
||||||
fixed_queue_enqueue(hci_hal_env.rx_q, pkt);
|
fixed_queue_enqueue(hci_hal_env.rx_q, pkt);
|
||||||
hci_hal_h4_task_post(100 / portTICK_PERIOD_MS);
|
hci_hal_h4_task_post(0);
|
||||||
|
|
||||||
BTTRC_DUMP_BUFFER("Recv Pkt", pkt->data, len);
|
BTTRC_DUMP_BUFFER("Recv Pkt", pkt->data, len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue