-+static inline bool
-+ath_is_world_regd(struct ath_regulatory *reg)
-+{
-+ return true;
-+}
-+
-+static inline int
-+ath_regd_init(struct ath_regulatory *reg, struct wiphy *wiphy,
-+ int (*reg_notifier)(struct wiphy *wiphy,
-+ struct regulatory_request *request))
-+{
-+ return 0;
-+}
-+
-+
-+static inline u32
-+ath_regd_get_band_ctl(struct ath_regulatory *reg,
-+ enum ieee80211_band band)
-+{
-+ return SD_NO_CTL;
-+}
+ sband = wiphy->bands[IEEE80211_BAND_2GHZ];
+
+ /*
+@@ -299,6 +307,10 @@ static void ath_reg_apply_radar_flags(st
+ struct ieee80211_channel *ch;
+ unsigned int i;
+
++#ifdef ATH_USER_REGD
++ return;
++#endif