Parcourir la source

qcacld-3.0: Use correct variable for excess retry count

Use correct variable to display excess retry count in
pdev tx fw stats.

Change-Id: I93fa3a064cf26e423fb9d5aead9e1deed341ff7a
CRs-Fixed: 2468832
Nirav Shah il y a 5 ans
Parent
commit
9b25064c31
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      core/dp/htt/htt_fw_stats.c

+ 3 - 1
core/dp/htt/htt_fw_stats.c

@@ -310,7 +310,9 @@ htt_t2h_stats_pdev_stats_print(struct wlan_dbg_stats *wlan_pdev_stats,
 	/* Num MPDUs requed by SW */
 	qdf_nofl_info("mpdus_requed      :%d", tx->mpdus_requed);
 	/* Excessive retries */
-	qdf_nofl_info("excess retries    :%d", tx->tx_ko);
+#if defined(AR900B)
+	qdf_nofl_info("excess retries    :%d", tx->tx_xretry);
+#endif
 	/* last data rate */
 	qdf_nofl_info("last rc           :%d", tx->data_rc);
 	/* scheduler self triggers */