aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2011-01-09 23:11:44 -0800
committerJohn W. Linville <linville@tuxdriver.com>2011-01-21 15:32:21 -0500
commit233536e126056f65a8aac7ff38788d19dbb53299 (patch)
tree337ccdc6efde57eb5d846fdd00c6eff4e97e749c
parentath9k: Show some live tx-queue values in debugfs. (diff)
downloadlinux-dev-233536e126056f65a8aac7ff38788d19dbb53299.tar.xz
linux-dev-233536e126056f65a8aac7ff38788d19dbb53299.zip
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>
-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 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;