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.1.4~44^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=454268da0073f3769caf0bc7346eb0806831f385;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 ecfaa5dbad..35e665a842 100644 --- a/components/bt/bluedroid/hci/hci_hal_h4.c +++ b/components/bt/bluedroid/hci/hci_hal_h4.c @@ -333,7 +333,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);