Ignore:
Timestamp:
2011-12-05T15:20:34+01:00 (4 years ago)
Author:
nbd
Message:

ath9k: fix antenna configuration on ar9285 for devices without antenna diversity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/300-pending_work.patch

    r29436 r29438  
    6666        else if (sc->ps_enabled && 
    6767                 !(sc->ps_flags & (PS_WAIT_FOR_BEACON | 
     68@@ -286,7 +286,7 @@ static bool ath_complete_reset(struct at 
     69                        ath_start_ani(common); 
     70        } 
     71  
     72-       if (ath9k_hw_ops(ah)->antdiv_comb_conf_get && sc->ant_rx != 3) { 
     73+       if ((ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB) && sc->ant_rx != 3) { 
     74                struct ath_hw_antcomb_conf div_ant_conf; 
     75                u8 lna_conf; 
     76  
    6877@@ -332,7 +332,8 @@ static int ath_reset_internal(struct ath 
    6978                hchan = ah->curchan; 
Note: See TracChangeset for help on using the changeset viewer.