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>
This commit is contained in:
parent
d882d242e4
commit
0f21ee8d9c
5 changed files with 18 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue