aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/a00-ath9k_platform_h_backup.patch
blob: cff3daee8283f8e8f163d2f98c380e03ba19d6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -678,8 +678,7 @@ static int ath9k_init_soc_platform(struc
 			return ret;
 	}
 
-	if (pdata->tx_gain_buffalo)
-		ah->config.tx_gain_buffalo = true;
+	ah->config.tx_gain_buffalo = true;
 
 	return ret;
 }
--- a/include/linux/ath9k_platform.h
+++ b/include/linux/ath9k_platform.h
@@ -33,7 +33,6 @@ struct ath9k_platform_data {
 
 	bool endian_check;
 	bool is_clk_25mhz;
-	bool tx_gain_buffalo;
 	bool disable_2ghz;
 	bool disable_5ghz;