Skip to content
Snippets Groups Projects
Commit c1b5c950 authored by himta ram's avatar himta ram
Browse files

FM: while stopping TX Thread put lock before notify to TX Thread

Change-Id: I8fb17e1686d74a6e896e4c233f48069487c6c771
parent 0762c1ac
No related branches found
No related tags found
No related merge requests found
......@@ -367,7 +367,10 @@ static void stop_tx_thread()
int ret;
ALOGI("%s:stop_tx_thread ++", __func__);
hci.tx_cond_mtx.lock();
hci.tx_cond.notify_all();
ALOGI("%s:notify to tx thread", __func__);
hci.tx_cond_mtx.unlock();
hci.tx_thread_.join();
ALOGI("%s:stop_tx_thread --", __func__);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment