Browse Source

qcacld-3.0: Enhance log in wlan_hdd_pm_qos_notify

Print runtime_pm_prevented info.

Change-Id: Ica1d626fea4c87fe53f6f6c4a78da7d52331ffba
CRs-Fixed: 2641631
Jingxiang Ge 5 years ago
parent
commit
84efe29b2b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/hdd/src/wlan_hdd_power.c

+ 2 - 1
core/hdd/src/wlan_hdd_power.c

@@ -925,7 +925,8 @@ int wlan_hdd_pm_qos_notify(struct notifier_block *nb, unsigned long curr_val,
 		return -EINVAL;
 	}
 
-	hdd_debug("PM QOS update. Current value: %ld", curr_val);
+	hdd_debug("PM QOS update: runtime_pm_prevented %d Current value: %ld",
+		  hdd_ctx->runtime_pm_prevented, curr_val);
 	qdf_spin_lock_irqsave(&hdd_ctx->pm_qos_lock);
 
 	if (!hdd_ctx->runtime_pm_prevented &&