qcacld-3.0: Fix policy_mgr_is_6G_chan_valid_for_ll_sap() api

Remove only 6 GHz using policy_mgr_is_6G_chan_valid_for_ll_sap()
if WLAN_FEATURE_LL_LT_SAP_6G_SUPPORT is not defined.

Change-Id: I828c61adf3c88c2a5100fff603a007d8a6c85a88
CRs-Fixed: 3532992
This commit is contained in:
Jyoti Kumari
2023-06-16 12:04:45 +05:30
committed by Rahul Choudhary
父節點 fca6594d76
當前提交 adf22d9ae4

查看文件

@@ -1312,6 +1312,9 @@ static bool policy_mgr_is_6G_chan_valid_for_ll_sap(qdf_freq_t freq)
#else
static inline bool policy_mgr_is_6G_chan_valid_for_ll_sap(qdf_freq_t freq)
{
if (!wlan_reg_is_6ghz_chan_freq(freq))
return true;
return false;
}
#endif