diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-13 03:03:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:28 -0400 |
commit | b002a4a950e41326310795cf4a0c74d0e90fa70a (patch) | |
tree | 57057bf14397542cab1c5c558727e9cec6e379eb /drivers/net/wireless/ath/ath9k/main.c | |
parent | 13b81559200b8e54473e5b140323cbb5f2bb21c0 (diff) |
atheros: add ieee80211_hw to ath_common
Make use of it on hw code in ath9k to avoid
using the ath9k ath_softc.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index d752b167f5ad..693555728eab 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1571,6 +1571,7 @@ static int ath_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid) | |||
1571 | common = ath9k_hw_common(ah); | 1571 | common = ath9k_hw_common(ah); |
1572 | common->ops = &ath9k_common_ops; | 1572 | common->ops = &ath9k_common_ops; |
1573 | common->ah = ah; | 1573 | common->ah = ah; |
1574 | common->hw = sc->hw; | ||
1574 | 1575 | ||
1575 | /* | 1576 | /* |
1576 | * Cache line size is used to size and align various | 1577 | * Cache line size is used to size and align various |