ath9k: fix resetting the hw when the MAC fails to go idle (backport of r26665)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 14 Apr 2011 22:47:25 +0000 (22:47 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 14 Apr 2011 22:47:25 +0000 (22:47 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26666 3c298f89-4303-0410-b956-a3cf2f4a3e73

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)