diff options
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r-- | net/mac80211/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index 883996b2f99f..00cefcb493eb 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c | |||
@@ -190,7 +190,7 @@ static ssize_t uapsd_max_sp_len_write(struct file *file, | |||
190 | return -EFAULT; | 190 | return -EFAULT; |
191 | buf[len] = '\0'; | 191 | buf[len] = '\0'; |
192 | 192 | ||
193 | ret = strict_strtoul(buf, 0, &val); | 193 | ret = kstrtoul(buf, 0, &val); |
194 | 194 | ||
195 | if (ret) | 195 | if (ret) |
196 | return -EINVAL; | 196 | return -EINVAL; |