ath9k: fix another crash bug (backport of r28139)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 Aug 2011 23:27:29 +0000 (23:27 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 Aug 2011 23:27:29 +0000 (23:27 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@28140 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/581-ath9k_use_reset_work.patch
package/mac80211/patches/582-ath9k_merge_reset_functions.patch

index 7836718bbd7bcc523c402d7473f38d9f4df86eb8..810d968c4415f5a15b0cf46cb8da86e36b49cb26 100644 (file)
  
 +void ath_reset_work(struct work_struct *work)
 +{
-+      struct ath_softc *sc = container_of(work, struct ath_softc, hw_check_work);
++      struct ath_softc *sc = container_of(work, struct ath_softc, hw_reset_work);
 +
 +      spin_lock_bh(&sc->sc_pcu_lock);
 +      ath_reset(sc, true);
index ff491a4a9c0c8749a7a8d089850db4d6ece95c47..975d2106fac7b98943aa542661cfc17b28475f2e 100644 (file)
        return r;
 @@ -971,9 +952,7 @@ void ath_reset_work(struct work_struct *
  {
-       struct ath_softc *sc = container_of(work, struct ath_softc, hw_check_work);
+       struct ath_softc *sc = container_of(work, struct ath_softc, hw_reset_work);
  
 -      spin_lock_bh(&sc->sc_pcu_lock);
        ath_reset(sc, true);