qcacmn: Revert disablement of regulatory component

Regulatory component was disabled in change
 I2d2b6cff74a174c19cd1a84c63e3009fc952d165 due to null range
value crash. That crash is fixed now. So re-enable regulatory
component..

Change-Id: I42a297bbe4e2b7c627fb11b2edc6323395ab8f8c
CRs-Fixed: 2002892
This commit is contained in:
Abhijit Pradhan
2017-04-12 09:53:28 +05:30
committed by Sandeep Puligilla
parent be6199297c
commit 4a3a13d73e

View File

@@ -180,7 +180,6 @@ static QDF_STATUS dispatcher_deinit_pmo(void)
} }
#endif /* END of WLAN_PMO_ENABLE */ #endif /* END of WLAN_PMO_ENABLE */
#ifdef CONFIG_REGULAORY_CONV
static QDF_STATUS dispatcher_regulatory_init(void) static QDF_STATUS dispatcher_regulatory_init(void)
{ {
return wlan_regulatory_init(); return wlan_regulatory_init();
@@ -202,31 +201,6 @@ static QDF_STATUS dispatcher_regulatory_psoc_close(struct wlan_objmgr_psoc
{ {
return regulatory_psoc_close(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 #ifdef WLAN_POLICY_MGR_ENABLE
static QDF_STATUS dispatcher_policy_mgr_init(void) static QDF_STATUS dispatcher_policy_mgr_init(void)