bool need_more_processing = false;
struct regulatory_request *lr = get_last_request();
+#ifdef CONFIG_CFG80211_REG_NOT_UPDATED
+ /*
+ * SAMSUNG FIX : Regulatory Configuration was update
+ * via WIPHY_FLAG_CUSTOM_REGULATORY of Wi-Fi Driver.
+ * Regulation should not updated even if device found other country Access Point Beacon once
+ * since device should find around other Access Points.
+ * 2014.1.8 Convergence Wi-Fi Core
+ */
+ printk("regulatory is not upadted via %s.\n", __func__);
+ return;
+#endif
+
lr->processed = true;
spin_lock(®_requests_lock);
static void queue_regulatory_request(struct regulatory_request *request)
{
+#ifdef CONFIG_CFG80211_REG_NOT_UPDATED
+ /*
+ * SAMSUNG FIX : Regulatory Configuration was update
+ * via WIPHY_FLAG_CUSTOM_REGULATORY of Wi-Fi Driver.
+ * Regulation should not updated even if device found other country Access Point Beacon once
+ * since device should find around other Access Points.
+ * 2014.1.8 Convergence Wi-Fi Core
+ */
+ printk("regulatory is not upadted via %s.\n", __func__);
+ if (request)
+ kfree(request);
+ return;
+#endif
+
request->alpha2[0] = toupper(request->alpha2[0]);
request->alpha2[1] = toupper(request->alpha2[1]);
LIST_HEAD(tmp_reg_req_list);
struct cfg80211_registered_device *rdev;
+#ifdef CONFIG_CFG80211_REG_NOT_UPDATED
+ /*
+ * SAMSUNG FIX : Regulatory Configuration was update
+ * via WIPHY_FLAG_CUSTOM_REGULATORY of Wi-Fi Driver.
+ * Regulation should not updated even if device found other country Access Point Beacon once
+ * since device should find around other Access Points.
+ * 2014.1.8 Convergence Wi-Fi Core
+ */
+ printk("regulatory is not upadted via %s.\n", __func__);
+ return;
+#endif
+
ASSERT_RTNL();
/*
struct reg_beacon *reg_beacon;
bool processing;
+#ifdef CONFIG_CFG80211_REG_NOT_UPDATED
+ /*
+ * SAMSUNG FIX : Regulatory Configuration was update
+ * via WIPHY_FLAG_CUSTOM_REGULATORY of Wi-Fi Driver.
+ * Regulation should not updated even if device found other country Access Point Beacon once
+ * since device should find around other Access Points.
+ * 2014.1.8 Convergence Wi-Fi Core
+ */
+ return 0;
+#endif
+
if (beacon_chan->beacon_found ||
beacon_chan->flags & IEEE80211_CHAN_RADAR ||
(beacon_chan->band == IEEE80211_BAND_2GHZ &&