qcacmn: Fix 11BE compilations when kernel doesn't support 11be

Along with 11BE feature macro, check for Kernel 11be macro to avoid
compilation issues when kernel doesn't support 11be.

Change-Id: I11c8287725a25b6b4e3234a38ae61d50f293cc96
CRs-Fixed: 3066178
This commit is contained in:
Bapiraju Alla
2021-10-29 05:41:43 -07:00
committed by Madan Koyyalamudi
parent 7ffc4a761b
commit 430a5f423e

View File

@@ -201,7 +201,7 @@ convert_spectral_err_code_internal_to_nl
return QDF_STATUS_SUCCESS;
}
#ifdef WLAN_FEATURE_11BE
#if defined(WLAN_FEATURE_11BE) && defined(CFG80211_11BE_BASIC)
int
wlan_spectral_get_nl80211_chwidth(uint8_t phy_chwidth)
{