diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index 883996b2f99fae26bd21e53d1ce12d7b322a8608..00cefcb493ebea1fb0cd8ba0fe7955ad424e5175 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, return -EFAULT; buf[len] = '\0'; - ret = strict_strtoul(buf, 0, &val); + ret = kstrtoul(buf, 0, &val); if (ret) return -EINVAL;