ath9k: fix resetting the hw during channel change when the MAC fails to go idle
[openwrt.git] / package / mac80211 / patches / 300-pending_work.patch
index 74acba5..982e233 100644 (file)
                ATH_DBG_WARN_ON_ONCE(!stopped);
        }
 -      return stopped;
-+      return stopped || reset;
++      return stopped && !reset;
  }
  
  void ath_flushrecv(struct ath_softc *sc)