[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100510223324.153968147@kvm.kroah.org>
Date: Mon, 10 May 2010 15:32:46 -0700
From: Greg KH <gregkh@...e.de>
To: linux-kernel@...r.kernel.org, stable@...nel.org
Cc: stable-review@...nel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
"John W. Linville" <linville@...driver.com>
Subject: [075/117] ath9k: reorder ieee80211_free_hw behind ath9k_uninit_hw to avoid oops
2.6.33-stable review patch. If anyone has any objections, please let us know.
------------------
From: John W. Linville <linville@...driver.com>
This code only exists in 2.6.33 -- 2.6.32 and 2.6.34 are not affected.
Signed-off-by: John W. Linville <linville@...driver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
---
drivers/net/wireless/ath/ath9k/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1358,9 +1358,9 @@ void ath_cleanup(struct ath_softc *sc)
free_irq(sc->irq, sc);
ath_bus_cleanup(common);
kfree(sc->sec_wiphy);
- ieee80211_free_hw(sc->hw);
ath9k_uninit_hw(sc);
+ ieee80211_free_hw(sc->hw);
}
static int ath9k_reg_notifier(struct wiphy *wiphy,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists