Author: nbd
Date: 2014-10-23 15:33:18 +0200 (Thu, 23 Oct 2014)
New Revision: 43034

Modified:
   trunk/package/kernel/mac80211/patches/402-ath_regd_optional.patch
Log:
ath: process regulatory notifiers with CONFIG_ATH_USER_REGD set

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/package/kernel/mac80211/patches/402-ath_regd_optional.patch
===================================================================
--- trunk/package/kernel/mac80211/patches/402-ath_regd_optional.patch   
2014-10-23 13:33:14 UTC (rev 43033)
+++ trunk/package/kernel/mac80211/patches/402-ath_regd_optional.patch   
2014-10-23 13:33:18 UTC (rev 43034)
@@ -33,17 +33,18 @@
        if (!wiphy->bands[IEEE80211_BAND_5GHZ])
                return;
  
-@@ -632,6 +644,10 @@ ath_regd_init_wiphy(struct ath_regulator
- {
+@@ -633,6 +645,11 @@ ath_regd_init_wiphy(struct ath_regulator
        const struct ieee80211_regdomain *regd;
  
+       wiphy->reg_notifier = reg_notifier;
++
 +#ifdef CPTCFG_ATH_USER_REGD
 +      return 0;
 +#endif
 +
-       wiphy->reg_notifier = reg_notifier;
        wiphy->regulatory_flags |= REGULATORY_STRICT_REG |
                                   REGULATORY_CUSTOM_REG;
+ 
 --- a/drivers/net/wireless/ath/Kconfig
 +++ b/drivers/net/wireless/ath/Kconfig
 @@ -21,6 +21,9 @@ menuconfig ATH_CARDS
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to