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
Dieser Commit ist enthalten in:
Vignesh U
2022-03-29 08:47:40 +05:30
committet von Madan Koyyalamudi
Ursprung 2fa9e5cab5
Commit 8917e2dc1a

Datei anzeigen

@@ -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>