commit | 8c50b5a38f4cf8977794dbbea9ea7d02cb6b25bb | [log] [tgz] |
---|---|---|
author | Wei Wang <weiwa@google.com> | Mon Apr 24 19:03:24 2017 -0700 |
committer | Wei Wang <weiwa@google.com> | Wed Apr 26 19:30:25 2017 -0700 |
tree | 85f06319eceda88f49f3847c39f9d866779524b3 | |
parent | f6470873f4070e623dc70e10ff35f8b1d3a94576 [diff] [blame] |
Clean up after RTT operations finished. (1/2) Bug: 36185358 Test: Manual with RTT app. Change-Id: Ic9c9d020acaf384664a9881ec2806f941b7a0c1c
diff --git a/wifi/1.0/default/wifi_legacy_hal.cpp b/wifi/1.0/default/wifi_legacy_hal.cpp index ba57ba7..225dadd 100644 --- a/wifi/1.0/default/wifi_legacy_hal.cpp +++ b/wifi/1.0/default/wifi_legacy_hal.cpp
@@ -164,6 +164,7 @@ const auto lock = hidl_sync_util::acquireGlobalLock(); if (on_rtt_results_internal_callback) { on_rtt_results_internal_callback(id, num_results, rtt_results); + on_rtt_results_internal_callback = nullptr; } }