Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b09e49e authored by Gabor Juhos's avatar Gabor Juhos Committed by John W. Linville
Browse files

ath9k: configure diversity based on eeprom contents for AR9330

parent dfc3a7b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3525,7 +3525,7 @@ static void ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz)
		}
		}
	}
	}


	if (AR_SREV_9485(ah)) {
	if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) {
		value = ath9k_hw_ar9300_get_eeprom(ah, EEP_ANT_DIV_CTL1);
		value = ath9k_hw_ar9300_get_eeprom(ah, EEP_ANT_DIV_CTL1);
		/*
		/*
		 * main_lnaconf, alt_lnaconf, main_tb, alt_tb
		 * main_lnaconf, alt_lnaconf, main_tb, alt_tb