]> 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)
committerzhiweijian <zhiweijian@espressif.com>
Wed, 20 Feb 2019 09:56:55 +0000 (17:56 +0800)
components/bt/bluedroid/hci/hci_hal_h4.c

index ecfaa5dbad066744821b5fd24b64ab4280b38fc3..35e665a8420ed5ae837bd47d3d1d6a8aad6da276 100644 (file)
@@ -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);