Explorar o código

ath9k: fix another crash bug

SVN-Revision: 28139
Felix Fietkau %!s(int64=14) %!d(string=hai) anos
pai
achega
5c8270da86

+ 1 - 1
package/mac80211/patches/581-ath9k_use_reset_work.patch

@@ -173,7 +173,7 @@
  
 +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);

+ 1 - 1
package/mac80211/patches/582-ath9k_merge_reset_functions.patch

@@ -342,7 +342,7 @@
  	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);