Browse Source

qcacld-3.0: Add debug log to show vdev states

Add debug log to show vdev status during vdev deleting

Change-Id: I17ae2504e482177c30c4bee212048f97dd5bbaa5
CRs-Fixed: 3762585
Yu Tian 1 year ago
parent
commit
8f7cd16ea9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      components/dp/core/src/wlan_dp_main.c

+ 4 - 0
components/dp/core/src/wlan_dp_main.c

@@ -1259,6 +1259,10 @@ static void dp_link_handle_cdp_vdev_delete(struct wlan_dp_psoc_context *dp_ctx,
 {
 	qdf_spin_lock_bh(&dp_ctx->dp_link_del_lock);
 
+	dp_info("CDP vdev registered %d, vdev deleted %d",
+		dp_link->cdp_vdev_registered,
+		dp_link->cdp_vdev_deleted);
+
 	if (!dp_link->cdp_vdev_registered || dp_link->cdp_vdev_deleted) {
 		/* CDP vdev is not created/registered or already deleted */
 		dp_info("Free dp_link %pK id %d (" QDF_MAC_ADDR_FMT ")",