relayd: update to the latest version, fixes some issues found by Coverity
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / 402-ath_regd_optional.patch
index 42260fcf86ef9ef0329e73e8cc8cc71ae52d4254..f918c18b68fc0d788a07ff1e5987cadbd624fcb3 100644 (file)
        if (!wiphy->bands[IEEE80211_BAND_5GHZ])
                return;
  
-@@ -631,6 +643,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
+@@ -22,6 +22,9 @@ menuconfig ATH_CARDS
  
  if ATH_CARDS
  
@@ -58,7 +59,7 @@
        ---help---
 --- a/.local-symbols
 +++ b/.local-symbols
-@@ -112,6 +112,7 @@ RTL8187_LEDS=
+@@ -137,6 +137,7 @@ RTL8187_LEDS=
  ATH_COMMON=
  ATH_CARDS=
  ATH_DEBUG=