aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2016-06-22 19:09:54 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-22 19:09:54 +0200
commit3b4425c874c036370e97bf19a571539fa1b0f354 (patch)
treedaa3ff1349d16fdef1fc9c5ef72c3fe32b4edaef /package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
parent61d1d288b993532a0882dfdbc1f82d33596cfe08 (diff)
parent6d853e81c8a5aee47047e08e7dc4b3cf2b239d78 (diff)
downloadmaster-187ad058-3b4425c874c036370e97bf19a571539fa1b0f354.tar.gz
master-187ad058-3b4425c874c036370e97bf19a571539fa1b0f354.tar.bz2
master-187ad058-3b4425c874c036370e97bf19a571539fa1b0f354.zip
Merge branch 'master' of https://github.com/wigyori/openwrt
Diffstat (limited to 'package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch')
-rw-r--r--package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch b/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
index 5ecf528e59..a105d40662 100644
--- a/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
+++ b/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath9k/debug.c
+++ b/drivers/net/wireless/ath/ath9k/debug.c
-@@ -1348,6 +1348,52 @@ static const struct file_operations fops
+@@ -1366,6 +1366,52 @@ static const struct file_operations fops
.owner = THIS_MODULE
};
@@ -53,7 +53,7 @@
int ath9k_init_debug(struct ath_hw *ah)
{
struct ath_common *common = ath9k_hw_common(ah);
-@@ -1369,6 +1415,8 @@ int ath9k_init_debug(struct ath_hw *ah)
+@@ -1387,6 +1433,8 @@ int ath9k_init_debug(struct ath_hw *ah)
debugfs_create_file("eeprom", S_IRUSR, sc->debug.debugfs_phy, sc,
&fops_eeprom);
@@ -90,7 +90,7 @@
ichan->channel = chan->center_freq;
ichan->chan = chan;
@@ -308,7 +310,19 @@ static void ath9k_cmn_update_ichannel(st
- if (chan->band == IEEE80211_BAND_5GHZ)
+ if (chan->band == NL80211_BAND_5GHZ)
flags |= CHANNEL_5GHZ;
- switch (chandef->width) {