aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-08-06 16:45:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-08-06 16:45:22 +0000
commit6f4fc9c795a4e9ae61c49734022880c3284f8ca1 (patch)
tree0fc0661755a6ba6ac200529bdc80d45253fa7b35 /package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
parent5a64212900a1420692412c752c6497b53daa0366 (diff)
downloadupstream-6f4fc9c795a4e9ae61c49734022880c3284f8ca1.tar.gz
upstream-6f4fc9c795a4e9ae61c49734022880c3284f8ca1.tar.bz2
upstream-6f4fc9c795a4e9ae61c49734022880c3284f8ca1.zip
mac80211: backport a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r37653 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@37728 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/512-ath9k_channelbw_debugfs.patch')
-rw-r--r--package/mac80211/patches/512-ath9k_channelbw_debugfs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
index 681291dc55..d6d1ae2e63 100644
--- a/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
+++ b/package/mac80211/patches/512-ath9k_channelbw_debugfs.patch
@@ -47,7 +47,7 @@
+ return -EFAULT;
+
+ buf[len] = '\0';
-+ if (strict_strtoul(buf, 0, &chan_bw))
++ if (kstrtoul(buf, 0, &chan_bw))
+ return -EINVAL;
+
+ sc->chan_bw = chan_bw;