qcacmn: Fix compilation error when WLAN_SUPPORT_GREEN_AP is disabled
Problem & Solution: WLAN_SUPPORT_GREEN_AP is enabled by default. cfg_green_ap_params.h file gets included only when this flag is enabled. So, in case of setting WLAN_SUPPORT_GREEN_AP=0, this file need not be included to avoid compilation errors. Change-Id: Id42be740268291c46621198a9c90c5d629a92386
This commit is contained in:

committed by
nshrivas

parent
ba4b57f368
commit
1d893d85b3
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -26,7 +26,11 @@
|
|||||||
#include <wlan_scan_cfg.h>
|
#include <wlan_scan_cfg.h>
|
||||||
#include "cfg_dp.h"
|
#include "cfg_dp.h"
|
||||||
#include <wlan_extscan_cfg.h>
|
#include <wlan_extscan_cfg.h>
|
||||||
|
#ifdef WLAN_SUPPORT_GREEN_AP
|
||||||
#include "cfg_green_ap_params.h"
|
#include "cfg_green_ap_params.h"
|
||||||
|
#else
|
||||||
|
#define CFG_GREEN_AP_ALL
|
||||||
|
#endif
|
||||||
#include <cfg_spectral.h>
|
#include <cfg_spectral.h>
|
||||||
|
|
||||||
#define CFG_CONVERGED_ALL \
|
#define CFG_CONVERGED_ALL \
|
||||||
|
Reference in New Issue
Block a user