From: zhiweijian Date: Tue, 30 Oct 2018 12:01:13 +0000 (+0800) Subject: Component/bt: fix ble cannot send or receive packet sometimes X-Git-Tag: v3.3-beta1~163^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1716d125478b7669cddaf3a31c7d68363ca69c0d;p=esp-idf Component/bt: fix ble cannot send or receive packet sometimes --- diff --git a/components/bt/bluedroid/hci/hci_hal_h4.c b/components/bt/bluedroid/hci/hci_hal_h4.c index 8ecaa6dfa8..9df65fce6b 100644 --- a/components/bt/bluedroid/hci/hci_hal_h4.c +++ b/components/bt/bluedroid/hci/hci_hal_h4.c @@ -332,7 +332,7 @@ static int host_recv_pkt_cb(uint8_t *data, uint16_t len) pkt->layer_specific = 0; memcpy(pkt->data, data, len); 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);