diff options
author | Vinit Deshpande <vinitd@google.com> | 2015-07-07 14:52:54 -0700 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2015-07-08 13:41:15 -0700 |
commit | c6e2679d2701404570f4f164e09dbdab92a1dafe (patch) | |
tree | dd2a7fa486052be74180af6451cdfa77124d970b /bcmdhd/wifi_hal/link_layer_stats.cpp | |
parent | ff1731f83e664b0f3389dd28e157eb922751b1f3 (diff) | |
download | hardware_broadcom_wlan-c6e2679d2701404570f4f164e09dbdab92a1dafe.zip hardware_broadcom_wlan-c6e2679d2701404570f4f164e09dbdab92a1dafe.tar.gz hardware_broadcom_wlan-c6e2679d2701404570f4f164e09dbdab92a1dafe.tar.bz2 |
Fix incorrect wifi_cleanup
The cleanup needs to cancel commands, not the event handlers;
and needs a while loop instead of a for loop.
Also added command names to identify which commands are causing
problems.
Bug: 22302517
Change-Id: I93c3e51f7cd3ad62c1a34eeb5708d9552e37342b
Diffstat (limited to 'bcmdhd/wifi_hal/link_layer_stats.cpp')
-rw-r--r-- | bcmdhd/wifi_hal/link_layer_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bcmdhd/wifi_hal/link_layer_stats.cpp b/bcmdhd/wifi_hal/link_layer_stats.cpp index 25502af..170c791 100644 --- a/bcmdhd/wifi_hal/link_layer_stats.cpp +++ b/bcmdhd/wifi_hal/link_layer_stats.cpp @@ -36,7 +36,7 @@ class GetLinkStatsCommand : public WifiCommand wifi_stats_result_handler mHandler; public: GetLinkStatsCommand(wifi_interface_handle iface, wifi_stats_result_handler handler) - : WifiCommand(iface, 0), mHandler(handler) + : WifiCommand("GetLinkStatsCommand", iface, 0), mHandler(handler) { } virtual int create() { |