ath9k: fix another crash bug (backport of r28139)
[openwrt-10.03/.git] / package / mac80211 / patches / 582-ath9k_merge_reset_functions.patch
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);