qcacld-3.0: Use corrent flag to handle CNSS utils driver

Use internal flag CNSS_UTILS instead of CONFIG_CNSS_UTILS which
will not be defined from kernel defconfig for out-of-kernel-tree
CNSS utils driver. CNSS_UTILS will be defined in the driver Kbuild
no matter where CONFIG_CNSS_UTILS gets defined.

Change-Id: Ifc07affd8e2dc78103be0aab54e20514c2e3b733
CRs-fixed: 3074629
This commit is contained in:
Yue Ma
2021-11-12 12:15:17 -06:00
committed by Madan Koyyalamudi
parent 410601c28c
commit 30dcc95b09

View File

@@ -592,7 +592,7 @@ int pld_get_audio_wlan_timestamp(struct device *dev,
uint64_t *ts);
#endif /* FEATURE_WLAN_TIME_SYNC_FTM */
#if IS_ENABLED(CONFIG_CNSS_UTILS)
#ifdef CNSS_UTILS
#ifdef CNSS_UTILS_VENDOR_UNSAFE_CHAN_API_SUPPORT
/**
* pld_get_wlan_unsafe_channel_sap() - Get vendor unsafe ch freq ranges