bugfix btdm sleep twice after wakeup request (2f7e614)

This problem may cause HCI send command timeout.

When host call VHCI api to do btdm_wakeup_request, then controller
wakeup process will be handled in ISR and controller task context.
As host task priority is lower than controller task and ISR,
it will cause an incorrect behavior that before VHCI take the
rx_flow_on_semaphore, controller sleep again, then VHCI cannot take
the semaphore and has to wait the automatic wakeup.
This commit is contained in:
Tian Hao
2019-07-27 16:58:02 +08:00
parent cc2fd1177d
commit 717f0c6ec7

BIN
libbtdm_app.a Executable file → Normal file

Binary file not shown.