mac80211: merge a few pending upstream fixes
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / patches / 327-ath9k_hw-remove-support-for-UB124-tx-gain-table.patch
1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Sat, 18 Oct 2014 13:25:26 +0200
3 Subject: [PATCH] ath9k_hw: remove support for UB124 tx gain table
4
5 UB124 is a USB based reference design not supported by ath9k or
6 ath9k_htc.
7
8 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
9 ---
10
11 --- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c
12 +++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c
13 @@ -670,9 +670,6 @@ static void ar9003_tx_gain_table_mode5(s
14 if (AR_SREV_9485_11_OR_LATER(ah))
15 INIT_INI_ARRAY(&ah->iniModesTxGain,
16 ar9485Modes_green_ob_db_tx_gain_1_1);
17 - else if (AR_SREV_9340(ah))
18 - INIT_INI_ARRAY(&ah->iniModesTxGain,
19 - ar9340Modes_ub124_tx_gain_table_1p0);
20 else if (AR_SREV_9580(ah))
21 INIT_INI_ARRAY(&ah->iniModesTxGain,
22 ar9580_1p0_type5_tx_gain_table);