327-ath9k_hw-remove-support-for-UB124-tx-gain-table.patch 762 B

12345678910111213141516171819202122
  1. From: Felix Fietkau <[email protected]>
  2. Date: Sat, 18 Oct 2014 13:25:26 +0200
  3. Subject: [PATCH] ath9k_hw: remove support for UB124 tx gain table
  4. UB124 is a USB based reference design not supported by ath9k or
  5. ath9k_htc.
  6. Signed-off-by: Felix Fietkau <[email protected]>
  7. ---
  8. --- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c
  9. +++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
  10. @@ -670,9 +670,6 @@ static void ar9003_tx_gain_table_mode5(s
  11. if (AR_SREV_9485_11_OR_LATER(ah))
  12. INIT_INI_ARRAY(&ah->iniModesTxGain,
  13. ar9485Modes_green_ob_db_tx_gain_1_1);
  14. - else if (AR_SREV_9340(ah))
  15. - INIT_INI_ARRAY(&ah->iniModesTxGain,
  16. - ar9340Modes_ub124_tx_gain_table_1p0);
  17. else if (AR_SREV_9580(ah))
  18. INIT_INI_ARRAY(&ah->iniModesTxGain,
  19. ar9580_1p0_type5_tx_gain_table);