diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2019-07-06 15:33:06 -0700 |
|---|---|---|
| committer | Linux Build Service Account <lnxbuild@localhost> | 2019-07-06 15:33:06 -0700 |
| commit | ef9d5a2f57666296adb68f6046fb463315fb03c3 (patch) | |
| tree | 87aaf1d7e22be38c8fce050fd6c5fbf6e06a4929 | |
| parent | c63d9f48487aef89d167a3a3302175fd1fd80b47 (diff) | |
| parent | 8e09158be490539f11963874c0413b718b29b7c4 (diff) | |
| download | android_external_ant-wireless_ant_native-ef9d5a2f57666296adb68f6046fb463315fb03c3.tar.gz android_external_ant-wireless_ant_native-ef9d5a2f57666296adb68f6046fb463315fb03c3.tar.bz2 android_external_ant-wireless_ant_native-ef9d5a2f57666296adb68f6046fb463315fb03c3.zip | |
Merge 8e09158be490539f11963874c0413b718b29b7c4 on remote branch
Change-Id: I8787622af36a84e8fb06f31800d4dcbc72ef6881
| -rw-r--r-- | src/qcomm-hidl/AntHidlClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcomm-hidl/AntHidlClient.cpp b/src/qcomm-hidl/AntHidlClient.cpp index d41a319..fce47c4 100644 --- a/src/qcomm-hidl/AntHidlClient.cpp +++ b/src/qcomm-hidl/AntHidlClient.cpp @@ -203,11 +203,11 @@ void hci_close() { { ALOGE("%s: HIDL daemon is dead", __func__); } + std::unique_lock< std::mutex> lock(ant_hci.data_mtx); + ant_hci.data_cond.notify_all(); } ant_hci.state = ANT_RADIO_DISABLED; ant_rx_clear(); - std::unique_lock< std::mutex> lock(ant_hci.data_mtx); - ant_hci.data_cond.notify_all(); anthci =nullptr; ALOGI("%s: exit", __func__); } |
