From: Ben Greear Date: Mon, 10 Jan 2011 07:11:44 +0000 (-0800) Subject: ath9k: Initialize ah->hw X-Git-Tag: MMI-PSA29.97-13-9~20520^2~448^2~29 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=233536e126056f65a8aac7ff38788d19dbb53299;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath9k: Initialize ah->hw Previous code left it NULL. Signed-off-by: Ben Greear Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 767d8b86f1e1..23b299818b18 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -537,6 +537,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid, if (!ah) return -ENOMEM; + ah->hw = sc->hw; ah->hw_version.devid = devid; ah->hw_version.subsysid = subsysid; sc->sc_ah = ah;