summaryrefslogtreecommitdiff
path: root/core/pld
diff options
context:
space:
mode:
authorHardik Kantilal Patel <hkpatel@codeaurora.org>2016-11-17 15:37:50 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-18 16:59:28 -0800
commite1fe11262bae7bab2d63c9f015c86cf0c43e2fd9 (patch)
treedb75971338fbb519e0896aa94aa7c1518051e76d /core/pld
parent6f96a561b8f7694f9cc1c316b5256232c8545e07 (diff)
qcacld-3.0: Fix Compilation error due to use of undeclar variable
Use correct variable name in argument while calling cnss_set_fw_debug_mode cnss platform driver API to avoid compilation error for PCI based target. Change-Id: I34d30cfd3113d379460124d423d0befa22a6bbd4 CRs-Fixed: 1091285
Diffstat (limited to 'core/pld')
-rw-r--r--core/pld/src/pld_pcie.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pld/src/pld_pcie.h b/core/pld/src/pld_pcie.h
index 4831120c9e7d..fd48e69842cb 100644
--- a/core/pld/src/pld_pcie.h
+++ b/core/pld/src/pld_pcie.h
@@ -78,7 +78,7 @@ int pld_pcie_wlan_enable(struct pld_wlan_enable_cfg *config,
int pld_pcie_wlan_disable(enum pld_driver_mode mode);
static inline int pld_pcie_set_fw_debug_mode(bool enablefwlog)
{
- return cnss_set_fw_debug_mode(mode);
+ return cnss_set_fw_debug_mode(enablefwlog);
}
static inline void pld_pcie_intr_notify_q6(void)
{