ath9k: fix resetting the hw during channel change when the MAC fails to go idle
authorFelix Fietkau <nbd@openwrt.org>
Thu, 14 Apr 2011 22:46:12 +0000 (22:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 14 Apr 2011 22:46:12 +0000 (22:46 +0000)
SVN-Revision: 26665

package/mac80211/patches/300-pending_work.patch

index 74acba566eed212cf6987dfa6fc7fdf3505ee491..982e233fb748fd6c401571ad562b59cdca064eeb 100644 (file)
                ATH_DBG_WARN_ON_ONCE(!stopped);
        }
 -      return stopped;
-+      return stopped || reset;
++      return stopped && !reset;
  }
  
  void ath_flushrecv(struct ath_softc *sc)