AA: mac80211: backport package from trunk r39886
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / a00-ath9k_platform_h_backup.patch
1 --- a/drivers/net/wireless/ath/ath9k/init.c
2 +++ b/drivers/net/wireless/ath/ath9k/init.c
3 @@ -676,8 +676,7 @@ static int ath9k_init_soc_platform(struc
4 return ret;
5 }
6
7 - if (pdata->tx_gain_buffalo)
8 - ah->config.tx_gain_buffalo = true;
9 + ah->config.tx_gain_buffalo = true;
10
11 return ret;
12 }
13 --- a/include/linux/ath9k_platform.h
14 +++ b/include/linux/ath9k_platform.h
15 @@ -33,7 +33,6 @@ struct ath9k_platform_data {
16
17 bool endian_check;
18 bool is_clk_25mhz;
19 - bool tx_gain_buffalo;
20 bool disable_2ghz;
21 bool disable_5ghz;
22