source: branches/backfire/package/mac80211/patches/544-ath9k_fix_sleep_mode_reg.patch @ 29342

Last change on this file since 29342 was 29342, checked in by nbd, 5 years ago

ath9k: fix a regression in touching power mode related registers (backport of r29341)

File size: 392 bytes
  • drivers/net/wireless/ath/ath9k/hw.c

    a b static void ath9k_set_power_sleep(struct 
    18461846        } 
    18471847 
    18481848        /* Clear Bit 14 of AR_WA after putting chip into Full Sleep mode. */ 
    1849         REG_WRITE(ah, AR_WA, ah->WARegVal & ~AR_WA_D3_L1_DISABLE); 
     1849        if (AR_SREV_9300_20_OR_LATER(ah)) 
     1850                REG_WRITE(ah, AR_WA, ah->WARegVal & ~AR_WA_D3_L1_DISABLE); 
    18501851} 
    18511852 
    18521853/* 
Note: See TracBrowser for help on using the repository browser.