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
这个提交包含在:
@@ -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 \
|
||||
|
在新工单中引用
屏蔽一个用户