aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-19 17:18:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-19 17:18:07 +0000
commit6f5a0548e77a502b10f25f5b99eebb7645fdddfe (patch)
tree85d832cbeb8505f2dd56c9fddfd89a00e0e86aef /package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch
parent86e335120ad5f245b79604252cdae0a156dd1f8c (diff)
downloadmaster-187ad058-6f5a0548e77a502b10f25f5b99eebb7645fdddfe.tar.gz
master-187ad058-6f5a0548e77a502b10f25f5b99eebb7645fdddfe.tar.bz2
master-187ad058-6f5a0548e77a502b10f25f5b99eebb7645fdddfe.zip
ath9k: merge another round of upstream (or -pending) fixes and cleanups
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39138 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch')
-rw-r--r--package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch b/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch
index 321e75e43c..4c81ef18a1 100644
--- a/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch
+++ b/package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch
@@ -1,7 +1,7 @@
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1782,6 +1782,53 @@ void ath9k_deinit_debug(struct ath_softc
- }
+@@ -1528,6 +1528,53 @@ void ath9k_deinit_debug(struct ath_softc
+ ath9k_spectral_deinit_debug(sc);
}
+static ssize_t read_file_eeprom(struct file *file, char __user *user_buf,
@@ -54,9 +54,9 @@
int ath9k_init_debug(struct ath_hw *ah)
{
struct ath_common *common = ath9k_hw_common(ah);
-@@ -1800,6 +1847,8 @@ int ath9k_init_debug(struct ath_hw *ah)
- ath9k_dfs_init_debug(sc);
+@@ -1547,6 +1594,8 @@ int ath9k_init_debug(struct ath_hw *ah)
ath9k_tx99_init_debug(sc);
+ ath9k_spectral_init_debug(sc);
+ debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc,
+ &fops_eeprom);