aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-08-27 11:00:06 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-09-05 14:53:32 -0400
commit1630d25fd00f195f0923d4b895e0529fdbba83c3 (patch)
tree6e0681909c82ea8b61e2bcef94f50f4fc40fe8f4 /drivers/net
parent381c726c09bb43aea8088ede5ce24eaa158289dc (diff)
ath9k_hw: disable PA linearization for AR9462
Support for it is incomplete Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index d95474ecb6c9..64a00d2f18f2 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -2499,7 +2499,8 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah)
2499 pCap->tx_desc_len = sizeof(struct ar9003_txc); 2499 pCap->tx_desc_len = sizeof(struct ar9003_txc);
2500 pCap->txs_len = sizeof(struct ar9003_txs); 2500 pCap->txs_len = sizeof(struct ar9003_txs);
2501 if (!ah->config.paprd_disable && 2501 if (!ah->config.paprd_disable &&
2502 ah->eep_ops->get_eeprom(ah, EEP_PAPRD)) 2502 ah->eep_ops->get_eeprom(ah, EEP_PAPRD) &&
2503 !AR_SREV_9462(ah))
2503 pCap->hw_caps |= ATH9K_HW_CAP_PAPRD; 2504 pCap->hw_caps |= ATH9K_HW_CAP_PAPRD;
2504 } else { 2505 } else {
2505 pCap->tx_desc_len = sizeof(struct ath_desc); 2506 pCap->tx_desc_len = sizeof(struct ath_desc);