Skip to content
Commit a1ea2b26 authored by Lyle Zhu's avatar Lyle Zhu Committed by Benjamin Cabé
Browse files

Bluetooth: HFP_HF: Avoid at status overwrote by sending



There is an issue that the sending of AT+command will overwrite the at
status when the at is handling receiving.

Add a flag `BT_HFP_HF_FLAG_RX_ONGOING` to flag the receiving is
working.

When the flag is set, suspend the TX sending.

Add a worker to restart the tx sending.

After the flag `BT_HFP_HF_FLAG_RX_ONGOING` is cleared, submit the TX
worker to restart the tx sending.

Signed-off-by: default avatarLyle Zhu <lyle.zhu@nxp.com>
parent 77b64044
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment