aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-14 00:07:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:29 -0400
commit43c2761364b77cd7fd20eb1f14cfee4cd1462abd (patch)
tree5f8759ab901fb94cf790805b816e7f7af53657ed /drivers/net/wireless/ath/ath9k/hw.c
parentc46917bb53a546f60c7d3103407fe953c418dd5b (diff)
atheros: move tx/rx chainmask to ath_common
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/hw.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 8ecd1b0bdf8..edf91d0fbb1 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -2334,8 +2334,8 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
2334 int i, rx_chainmask, r; 2334 int i, rx_chainmask, r;
2335 2335
2336 ah->extprotspacing = sc->ht_extprotspacing; 2336 ah->extprotspacing = sc->ht_extprotspacing;
2337 ah->txchainmask = sc->tx_chainmask; 2337 ah->txchainmask = common->tx_chainmask;
2338 ah->rxchainmask = sc->rx_chainmask; 2338 ah->rxchainmask = common->rx_chainmask;
2339 2339
2340 if (!ath9k_hw_setpower(ah, ATH9K_PM_AWAKE)) 2340 if (!ath9k_hw_setpower(ah, ATH9K_PM_AWAKE))
2341 return -EIO; 2341 return -EIO;