hostapd: backport package from trunk r39765
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 553-ath9k_debugfs_diag.patch
index db380b081429c9c88a691e9306de66c135c8180f..7230d329638d9c471fe17086962970b01425e216 100644 (file)
@@ -30,7 +30,7 @@
 +              return -EFAULT;
 +
 +      buf[len] = '\0';
-+      if (strict_strtoul(buf, 0, &diag))
++      if (kstrtoul(buf, 0, &diag))
 +              return -EINVAL;
 +
 +      ah->diag = diag;
                REG_SET_BIT(ah, AR_BTCOEX_WL_LNADIV, AR_BTCOEX_WL_LNADIV_FORCE_ON);
 --- a/drivers/net/wireless/ath/ath9k/main.c
 +++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -462,6 +462,11 @@ irqreturn_t ath_isr(int irq, void *dev)
+@@ -472,6 +472,11 @@ irqreturn_t ath_isr(int irq, void *dev)
        ath9k_hw_getisr(ah, &status);   /* NB: clears ISR too */
        status &= ah->imask;    /* discard unasked-for bits */