wlan: Handle set band if CONFIG_ENABLE_LINUX_REG is not defined.
vos_is_nv_country_non_zero() and
vos_update_nv_table_from_wiphy_band() function definitions are
under macro but are being called irrespective of macro, thus if
CONFIG_ENABLE_LINUX_REG is not defined set band functionality is
broken.
Removed vos_is_nv_country_non_zero() from the macro, and added a
alternative for vos_update_nv_table_from_wiphy_band() in
hdd_setBand if CONFIG_ENABLE_LINUX_REG=n.
Change-Id: I689a6b21fc76d2045654b0d07ac63d65b7cb5302
CRs-Fixed: 750196
diff --git a/CORE/HDD/inc/wlan_hdd_cfg80211.h b/CORE/HDD/inc/wlan_hdd_cfg80211.h
index fce9e70..b8fd5b4 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg80211.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg80211.h
@@ -926,6 +926,8 @@
#endif
struct cfg80211_scan_request *request);
+int wlan_hdd_cfg80211_update_band(struct wiphy *wiphy, eCsrBand eBand);
+
int wlan_hdd_cfg80211_init(struct device *dev,
struct wiphy *wiphy,
hdd_config_t *pCfg