From e1fe11262bae7bab2d63c9f015c86cf0c43e2fd9 Mon Sep 17 00:00:00 2001 From: Hardik Kantilal Patel Date: Thu, 17 Nov 2016 15:37:50 +0530 Subject: 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 --- core/pld/src/pld_pcie.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3