diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-08-31 23:25:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-08-31 23:25:37 +0000 |
commit | 5f2cb1e5b40c6e60d96192ff9ce95077239214f0 (patch) | |
tree | 7534ac8b8c8e989546e313a1254de9d3b13b8cff /package/mac80211 | |
parent | 264587e8f406497c150db71386544d89093599e3 (diff) | |
download | master-187ad058-5f2cb1e5b40c6e60d96192ff9ce95077239214f0.tar.gz master-187ad058-5f2cb1e5b40c6e60d96192ff9ce95077239214f0.tar.bz2 master-187ad058-5f2cb1e5b40c6e60d96192ff9ce95077239214f0.zip |
ath9k: fix another crash bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28139 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r-- | package/mac80211/patches/581-ath9k_use_reset_work.patch | 2 | ||||
-rw-r--r-- | package/mac80211/patches/582-ath9k_merge_reset_functions.patch | 2 |
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 7836718bbd..810d968c44 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 ff491a4a9c..975d2106fa 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); |