summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-10 12:59:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-10 12:59:36 +0000
commit7dff84b6703a69fb6585052ee0e27cf794d3d8b5 (patch)
treed94c676a0f89e03d761705bb03435d6eaed0438a /package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
parent1812fe63b223bfcc286778ceb51d0af615df4858 (diff)
downloadmtk-20170518-7dff84b6703a69fb6585052ee0e27cf794d3d8b5.zip
mtk-20170518-7dff84b6703a69fb6585052ee0e27cf794d3d8b5.tar.gz
mtk-20170518-7dff84b6703a69fb6585052ee0e27cf794d3d8b5.tar.bz2
mac80211: more patch reorganization, merge an upstream performance optimization patch
SVN-Revision: 30865
Diffstat (limited to 'package/mac80211/patches/513-ath9k_channelbw_debugfs.patch')
-rw-r--r--package/mac80211/patches/513-ath9k_channelbw_debugfs.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
index 2645d5b..713a443 100644
--- a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
+++ b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
-@@ -625,6 +625,7 @@ struct ath_softc {
+@@ -624,6 +624,7 @@ struct ath_softc {
struct ieee80211_hw *hw;
struct device *dev;
@@ -8,7 +8,7 @@
int chan_idx;
int chan_is_ht;
struct survey_info *cur_survey;
-@@ -692,6 +693,7 @@ struct ath_softc {
+@@ -691,6 +692,7 @@ struct ath_softc {
u8 ant_tx, ant_rx;
};
@@ -18,7 +18,7 @@
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1607,6 +1607,50 @@ static const struct file_operations fops
+@@ -1576,6 +1576,50 @@ static const struct file_operations fops
.owner = THIS_MODULE
};
@@ -69,7 +69,7 @@
int ath9k_init_debug(struct ath_hw *ah)
{
struct ath_common *common = ath9k_hw_common(ah);
-@@ -1673,5 +1717,8 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -1642,5 +1686,8 @@ int ath9k_init_debug(struct ath_hw *ah)
debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc,
&fops_eeprom);