Browse Source

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
Hardik Kantilal Patel 8 years ago
parent
commit
5b67bef418
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/pld/src/pld_pcie.h

+ 1 - 1
core/pld/src/pld_pcie.h

@@ -90,7 +90,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)
 {