summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2011-01-10 07:11:44 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-01-21 20:32:21 (GMT)
commit233536e126056f65a8aac7ff38788d19dbb53299 (patch)
tree337ccdc6efde57eb5d846fdd00c6eff4e97e749c /drivers/net
parent1f427dd913a1bf61f2d124d12a022ca2f1d27f53 (diff)
downloadlinux-fsl-qoriq-233536e126056f65a8aac7ff38788d19dbb53299.tar.xz
ath9k: Initialize ah->hw
Previous code left it NULL. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 767d8b8..23b2998 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;