aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 7f412dd9b9fb..a9e43f7a23f6 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -2117,6 +2117,8 @@ static void ath9k_stop(struct ieee80211_hw *hw)
2117 2117
2118 mutex_lock(&sc->mutex); 2118 mutex_lock(&sc->mutex);
2119 2119
2120 cancel_delayed_work_sync(&sc->tx_complete_work);
2121
2120 if (ath9k_wiphy_started(sc)) { 2122 if (ath9k_wiphy_started(sc)) {
2121 mutex_unlock(&sc->mutex); 2123 mutex_unlock(&sc->mutex);
2122 return; /* another wiphy still in use */ 2124 return; /* another wiphy still in use */