wlan: linux regulatory changes
Properly separate out the regulatory changes when CONFIG_ENABLE_LINUX_REG
is defined and when it is not defined.
Change-Id: Ia01777a8b2e18a52b532e460a9ebcb1ab3196e50
CRs-Fixed: 538940
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h
index 0cf6604..3842505 100644
--- a/CORE/HDD/inc/wlan_hdd_main.h
+++ b/CORE/HDD/inc/wlan_hdd_main.h
@@ -138,7 +138,11 @@
#define WAIT_TIME_TDLS_INITIATOR 600
/* Maximum time to get linux regulatory entry settings */
+#ifdef CONFIG_ENABLE_LINUX_REG
#define LINUX_REG_WAIT_TIME 300
+#else
+#define CRDA_WAIT_TIME 300
+#endif
/* Scan Req Timeout */
#define WLAN_WAIT_TIME_SCAN_REQ 100
@@ -1022,7 +1026,11 @@
struct completion mc_sus_event_var;
/* Completion variable for regulatory hint */
+#ifdef CONFIG_ENABLE_LINUX_REG
struct completion linux_reg_req;
+#else
+ struct completion driver_crda_req;
+#endif
v_BOOL_t isWlanSuspended;