Search Linux Wireless

[PATCH 07/12] ath9k_hw: program radio_post_sys2ant initval for AR9565

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rajkumar Manoharan wrote:
> Signed-off-by: Rajkumar Manoharan <rmanohar@xxxxxxxxxxxxxxxx>
> ---
>  drivers/net/wireless/ath/ath9k/ar9003_phy.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
> index 759f5f5..1d6d6ce 100644
> --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
> +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
> @@ -749,7 +749,8 @@ static int ar9003_hw_process_ini(struct ath_hw *ah,
>  		ar9003_hw_prog_ini(ah, &ah->iniMac[i], modesIndex);
>  		ar9003_hw_prog_ini(ah, &ah->iniBB[i], modesIndex);
>  		ar9003_hw_prog_ini(ah, &ah->iniRadio[i], modesIndex);
> -		if (i == ATH_INI_POST && AR_SREV_9462_20(ah))
> +		if (i == ATH_INI_POST &&
> +		    (AR_SREV_9462_20(ah) || AR_SREV_9565(ah)))
>  			ar9003_hw_prog_ini(ah,
>  					   &ah->ini_radio_post_sys2ant,
>  					   modesIndex);
> @@ -1424,7 +1425,7 @@ static int ar9003_hw_fast_chan_change(struct ath_hw *ah,
>  	ar9003_hw_prog_ini(ah, &ah->iniBB[ATH_INI_POST], modesIndex);
>  	ar9003_hw_prog_ini(ah, &ah->iniRadio[ATH_INI_POST], modesIndex);
>  
> -	if (AR_SREV_9462_20(ah))
> +	if (AR_SREV_9462_20(ah) || AR_SREV_9565(ah))
>  		ar9003_hw_prog_ini(ah, &ah->ini_radio_post_sys2ant,
>  				   modesIndex);

ah->ini_radio_post_sys2ant() is not initialized for AR9565...

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux