mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:48:26 +02:00
ath9k: fix another crash bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28139 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
470731a179
commit
a67979d135
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user