aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);