Search Linux Wireless

[PATCH 09/12] ath9k_hw: Configure new switch table for AR9565 BTCOEX

[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_eeprom.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
> index f3784eb..8621e37 100644
> --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
> +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
> @@ -3601,7 +3601,7 @@ static void ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz)
>  	 *   7:4 R/W  SWITCH_TABLE_COM_SPDT_WLAN_IDLE
>  	 * SWITCH_TABLE_COM_SPDT_WLAN_IDLE
>  	 */
> -	if (AR_SREV_9462_20_OR_LATER(ah)) {
> +	if (AR_SREV_9462_20_OR_LATER(ah) || AR_SREV_9565(ah)) {
>  		value = ar9003_switch_com_spdt_get(ah, is2ghz);
>  		REG_RMW_FIELD(ah, AR_PHY_GLB_CONTROL,
>  				AR_SWITCH_TABLE_COM_SPDT_ALL, value);

A cleaner way would be to fix the AR_SREV_9462_20_OR_LATER macro to resemble
all the other *_LATER macros (based on the macVersion).

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