diff options
author | Ben Greear <greearb@candelatech.com> | 2011-01-09 23:11:44 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-21 15:32:21 -0500 |
commit | 233536e126056f65a8aac7ff38788d19dbb53299 (patch) | |
tree | 337ccdc6efde57eb5d846fdd00c6eff4e97e749c /drivers/net/wireless/ath/ath9k | |
parent | 1f427dd913a1bf61f2d124d12a022ca2f1d27f53 (diff) | |
download | op-kernel-dev-233536e126056f65a8aac7ff38788d19dbb53299.zip op-kernel-dev-233536e126056f65a8aac7ff38788d19dbb53299.tar.gz |
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/wireless/ath/ath9k')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 1 |
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; |