aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/a00-ath9k_platform_h_backup.patch
blob: 5a74fbf3db0d6ac30ccb6aa0993f9042f913fbf1 (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
@@ -676,8 +676,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;