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:
Jiang Jiang Jian 2018-11-01 15:55:05 +08:00
commit b601fcfde0

View 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);