aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_gpio.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_gpio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c
index 7e630a81b453..459ba0d36f4c 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c
@@ -436,6 +436,9 @@ void ath9k_htc_radio_disable(struct ieee80211_hw *hw)
436 /* Stop RX */ 436 /* Stop RX */
437 WMI_CMD(WMI_STOP_RECV_CMDID); 437 WMI_CMD(WMI_STOP_RECV_CMDID);
438 438
439 /* Clear the WMI event queue */
440 ath9k_wmi_event_drain(priv);
441
439 /* 442 /*
440 * The MIB counters have to be disabled here, 443 * The MIB counters have to be disabled here,
441 * since the target doesn't do it. 444 * since the target doesn't do it.