diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-12-10 01:52:37 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-10 20:49:50 (GMT) |
commit | 0f21ee8d9c8a041b974cfb75d81d07b61bd0869f (patch) | |
tree | 98f302397e27e08b361d3e2233616720a4fb46a3 /drivers/net/wireless/ath/ath9k/link.c | |
parent | d882d242e4bfb2016e611a5aab0112fcece7a8ac (diff) | |
download | linux-fsl-qoriq-0f21ee8d9c8a041b974cfb75d81d07b61bd0869f.tar.xz |
ath9k_hw: Add HW cap for PAPRD
Add a HW capability to indicate whether PAPRD is enabled
for the card, since PAPRD could be enabled in the EEPROM, but
disabled in the driver. This makes things clearer.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/link.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/link.c b/drivers/net/wireless/ath/ath9k/link.c index c70b31a..ade3afb 100644 --- a/drivers/net/wireless/ath/ath9k/link.c +++ b/drivers/net/wireless/ath/ath9k/link.c @@ -435,7 +435,7 @@ set_timer: mod_timer(&common->ani.timer, jiffies + msecs_to_jiffies(cal_interval)); - if (ah->eep_ops->get_eeprom(ah, EEP_PAPRD) && ah->caldata) { + if (ar9003_is_paprd_enabled(ah) && ah->caldata) { if (!ah->caldata->paprd_done) { ieee80211_queue_work(sc->hw, &sc->paprd_work); } else if (!ah->paprd_table_write_done) { |