Эх сурвалжийг харах

qcacmn: Remove conditional compilation

The API reg_get_ch_state_based_on_nol_flag() calls the function
wlan_reg_get_5g_bonded_channel_state_for_pwrmode() which is part of the
header wlan_reg_services_api.h. This header is conditionally included
using the macro CONFIG_AFC_SUPPORT which is not enabled for all the PFs.

Remove the condition header file inclusion as
reg_get_ch_state_based_on_nol_flag() is a common API for all PFs.

Change-Id: I3f6cc301474648fdd6a2937421ee0421a0788856
CRs-Fixed: 3161629
Vignesh U 3 жил өмнө
parent
commit
8917e2dc1a

+ 1 - 1
umac/regulatory/core/src/reg_services_common.c

@@ -24,8 +24,8 @@
 
 #include <wlan_cmn.h>
 #include <reg_services_public_struct.h>
-#ifdef CONFIG_AFC_SUPPORT
 #include <wlan_reg_services_api.h>
+#ifdef CONFIG_AFC_SUPPORT
 #include "reg_opclass.h"
 #endif
 #include <wlan_objmgr_psoc_obj.h>