ath9k: do not stop the queues in driver stop
mac80211 will have disabled the queues for us when needed. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
2b3daf5889
commit
95a2b2ef82
|
@ -2101,8 +2101,6 @@ static void ath9k_stop(struct ieee80211_hw *hw)
|
||||||
|
|
||||||
mutex_lock(&sc->mutex);
|
mutex_lock(&sc->mutex);
|
||||||
|
|
||||||
ieee80211_stop_queues(hw);
|
|
||||||
|
|
||||||
if (ath9k_wiphy_started(sc)) {
|
if (ath9k_wiphy_started(sc)) {
|
||||||
mutex_unlock(&sc->mutex);
|
mutex_unlock(&sc->mutex);
|
||||||
return; /* another wiphy still in use */
|
return; /* another wiphy still in use */
|
||||||
|
|
Loading…
Reference in a new issue