diff options
Diffstat (limited to 'package/mac80211/patches/a00-ath9k_platform_h_backup.patch')
-rw-r--r-- | package/mac80211/patches/a00-ath9k_platform_h_backup.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/mac80211/patches/a00-ath9k_platform_h_backup.patch b/package/mac80211/patches/a00-ath9k_platform_h_backup.patch new file mode 100644 index 0000000000..5a74fbf3db --- /dev/null +++ b/package/mac80211/patches/a00-ath9k_platform_h_backup.patch @@ -0,0 +1,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; + |