Bladeren bron

qcacmn: Modify rssi_in_dbm's format specifier in print

Rssi_in_dbm has incorrect format specifier due to which
it returned large values,change it to correct specifier.

Change-Id: I06426e36b6abf5b915d039dfea8afd5d3aa06195
CRs-Fixed: 2490087
Surya Prakash Raajen 5 jaren geleden
bovenliggende
commit
9a4f2c0ab3
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      dp/wifi3.0/dp_stats.c

+ 1 - 1
dp/wifi3.0/dp_stats.c

@@ -2947,7 +2947,7 @@ static inline void dp_print_rx_pdev_rate_stats_tlv(uint32_t *tag_buf)
 		       dp_stats_buf->rssi_data);
 	DP_PRINT_STATS("rssi_comb = %u",
 		       dp_stats_buf->rssi_comb);
-	DP_PRINT_STATS("rx_in_dbm = %u",
+	DP_PRINT_STATS("rssi_in_dbm = %d",
 		       dp_stats_buf->rssi_in_dbm);
 	DP_PRINT_STATS("rx_11ax_su_ext = %u",
 		       dp_stats_buf->rx_11ax_su_ext);