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
这个提交包含在:
Sandhya Mahadevan
2019-02-20 12:38:18 +05:30
提交者 nshrivas
父节点 ba4b57f368
当前提交 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
* any purpose with or without fee is hereby granted, provided that the
@@ -26,7 +26,11 @@
#include <wlan_scan_cfg.h>
#include "cfg_dp.h"
#include <wlan_extscan_cfg.h>
#ifdef WLAN_SUPPORT_GREEN_AP
#include "cfg_green_ap_params.h"
#else
#define CFG_GREEN_AP_ALL
#endif
#include <cfg_spectral.h>
#define CFG_CONVERGED_ALL \