]> granicus.if.org Git - esp-idf/commitdiff
Component/bt: fix ble cannot send or receive packet sometimes
authorzhiweijian <zhiweijian@espressif.com>
Tue, 30 Oct 2018 12:01:13 +0000 (20:01 +0800)
committerbot <bot@espressif.com>
Wed, 31 Oct 2018 16:13:51 +0000 (16:13 +0000)
components/bt/bluedroid/hci/hci_hal_h4.c

index 8ecaa6dfa89b6fc00563237f33f2e3186241beba..9df65fce6b1f95da4ad91a7ef866503c7d04d93b 100644 (file)
@@ -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);