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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
2fa9e5cab5
commit
8917e2dc1a
@@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
#include <wlan_cmn.h>
|
#include <wlan_cmn.h>
|
||||||
#include <reg_services_public_struct.h>
|
#include <reg_services_public_struct.h>
|
||||||
#ifdef CONFIG_AFC_SUPPORT
|
|
||||||
#include <wlan_reg_services_api.h>
|
#include <wlan_reg_services_api.h>
|
||||||
|
#ifdef CONFIG_AFC_SUPPORT
|
||||||
#include "reg_opclass.h"
|
#include "reg_opclass.h"
|
||||||
#endif
|
#endif
|
||||||
#include <wlan_objmgr_psoc_obj.h>
|
#include <wlan_objmgr_psoc_obj.h>
|
||||||
|
Reference in New Issue
Block a user