From 3228727ce291ee937a86ed5b87951bfcdc29fda3 Mon Sep 17 00:00:00 2001 From: Abhijit Pradhan Date: Tue, 11 Apr 2017 13:41:19 +0530 Subject: [PATCH] qcacmn: Regulatory component is disabled to fix the crash in X86 Array overflow causes kernel panic. Need to fix it in future; disabling the regdb component now. Change-Id: I2d2b6cff74a174c19cd1a84c63e3009fc952d165 CRs-Fixed: 2002892 --- .../dispatcher/src/dispatcher_init_deinit.c | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/init_deinit/dispatcher/src/dispatcher_init_deinit.c b/init_deinit/dispatcher/src/dispatcher_init_deinit.c index 055009e49fc2..05380cae3732 100644 --- a/init_deinit/dispatcher/src/dispatcher_init_deinit.c +++ b/init_deinit/dispatcher/src/dispatcher_init_deinit.c @@ -177,7 +177,7 @@ static QDF_STATUS dispatcher_deinit_pmo(void) } #endif /* END of WLAN_PMO_ENABLE */ - +#ifdef CONFIG_REGULAORY_CONV static QDF_STATUS dispatcher_regulatory_init(void) { return wlan_regulatory_init(); @@ -199,6 +199,30 @@ static QDF_STATUS dispatcher_regulatory_psoc_close(struct wlan_objmgr_psoc { return regulatory_psoc_close(psoc); } +#else +static QDF_STATUS dispatcher_regulatory_init(void) +{ + return QDF_STATUS_SUCCESS; +} + +static QDF_STATUS dispatcher_regulatory_deinit(void) +{ + return QDF_STATUS_SUCCESS; +} + +static QDF_STATUS dispatcher_regulatory_psoc_open(struct wlan_objmgr_psoc + *psoc) +{ + return QDF_STATUS_SUCCESS; +} + +static QDF_STATUS dispatcher_regulatory_psoc_close(struct wlan_objmgr_psoc + *psoc) +{ + return QDF_STATUS_SUCCESS; +} + +#endif #ifdef WLAN_POLICY_MGR_ENABLE