ath9k_hw: Configure new switch table for AR9565 BTCOEX
[cascardo/linux.git] / drivers / net / wireless / ath / ath9k / ar9003_eeprom.c
index d313998..c86cb64 100644 (file)
@@ -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(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);