Browse Source

qcacmn: Fix monitor status ring history

Currently for the monitor status ring history,
the event type is not being logged.
Fix the event type logging in the monitor status
ring history.

Change-Id: I43f07bf9a4232a203b7a996db6038a081249ffc9
CRs-Fixed: 3425325
Rakesh Pillai 2 years ago
parent
commit
9374de2500
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dp/wifi3.0/monitor/1.0/dp_rx_mon_status_1.0.c

+ 1 - 0
dp/wifi3.0/monitor/1.0/dp_rx_mon_status_1.0.c

@@ -363,6 +363,7 @@ dp_rx_mon_status_ring_record_entry(struct dp_soc *soc,
 	record = &soc->mon_status_ring_history->entry[idx];
 	record = &soc->mon_status_ring_history->entry[idx];
 
 
 	record->timestamp = qdf_get_log_timestamp();
 	record->timestamp = qdf_get_log_timestamp();
+	record->event = event;
 	if (event == DP_MON_STATUS_BUF_REAP) {
 	if (event == DP_MON_STATUS_BUF_REAP) {
 		hal_rx_buffer_addr_info_get_paddr(ring_desc, &hbi);
 		hal_rx_buffer_addr_info_get_paddr(ring_desc, &hbi);