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