qcacmn: Cleanup CONFIG_MCL in spectral scan

Use new macro "SPECTRAL_MODULIZED_ENABLE" to replace "CONFIG_MCL" and
"CONFIG_WIN" in spectral scan component.

Change-Id: Ib0167fa7b7cb08efde8d690f24eff85dd21897a1
CRs-Fixed: 2444204
This commit is contained in:
Wu Gao
2019-04-30 11:45:52 +08:00
committato da nshrivas
parent c61826c476
commit da8a7e60e5
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni

Vedi File

@@ -259,7 +259,7 @@ static QDF_STATUS dispatcher_regulatory_pdev_open(struct wlan_objmgr_pdev
}
#ifdef WLAN_CONV_SPECTRAL_ENABLE
#ifdef CONFIG_WIN
#ifdef SPECTRAL_MODULIZED_ENABLE
QDF_STATUS dispatcher_register_spectral_pdev_open_handler(
spectral_pdev_open_handler handler)
{
@@ -566,7 +566,7 @@ static QDF_STATUS dispatcher_splitmac_deinit(void)
#endif /* WLAN_SUPPORT_SPLITMAC */
#ifdef WLAN_CONV_SPECTRAL_ENABLE
#ifdef CONFIG_MCL
#ifndef SPECTRAL_MODULIZED_ENABLE
static QDF_STATUS dispatcher_spectral_init(void)
{
return wlan_spectral_init();