ath9k: fix another crash bug
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 Aug 2011 23:25:37 +0000 (23:25 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 Aug 2011 23:25:37 +0000 (23:25 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28139 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 7836718..810d968 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 ff491a4..975d210 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);
This page took 0.027764 seconds and 4 git commands to generate.