summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-31 23:25:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-31 23:25:37 +0000
commit5c8270da86d52f57e73d964c5bae297a2e9e73db (patch)
treebcc56a3e5b32fbe12aee09eec9e235e1a9e69720 /package/mac80211
parent71184985119d333d9f374740c7a2cbb58fe598cd (diff)
downloadmtk-20170518-5c8270da86d52f57e73d964c5bae297a2e9e73db.zip
mtk-20170518-5c8270da86d52f57e73d964c5bae297a2e9e73db.tar.gz
mtk-20170518-5c8270da86d52f57e73d964c5bae297a2e9e73db.tar.bz2
ath9k: fix another crash bug
SVN-Revision: 28139
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/581-ath9k_use_reset_work.patch2
-rw-r--r--package/mac80211/patches/582-ath9k_merge_reset_functions.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/581-ath9k_use_reset_work.patch b/package/mac80211/patches/581-ath9k_use_reset_work.patch
index 7836718..810d968 100644
--- a/package/mac80211/patches/581-ath9k_use_reset_work.patch
+++ b/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);
diff --git a/package/mac80211/patches/582-ath9k_merge_reset_functions.patch b/package/mac80211/patches/582-ath9k_merge_reset_functions.patch
index ff491a4..975d210 100644
--- a/package/mac80211/patches/582-ath9k_merge_reset_functions.patch
+++ b/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);