summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wifi_hal/link_layer_stats.cpp
diff options
context:
space:
mode:
authorVinit Deshpande <vinitd@google.com>2015-07-07 14:52:54 -0700
committerThe Android Automerger <android-build@google.com>2015-07-08 13:41:15 -0700
commitc6e2679d2701404570f4f164e09dbdab92a1dafe (patch)
treedd2a7fa486052be74180af6451cdfa77124d970b /bcmdhd/wifi_hal/link_layer_stats.cpp
parentff1731f83e664b0f3389dd28e157eb922751b1f3 (diff)
downloadhardware_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.cpp2
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() {