소스 검색

qcacld-3.0: Reset the value of static rssi_comb to zero

Reset the value of static variable rssi_comb to zero when
last mpdu of ppdu is received in packet capture mode.

Change-Id: Ida76dfb9c98a8e2718844f890e0303802db5bbed
CRs-Fixed: 2940871
Surabhi Vishnoi 3 년 전
부모
커밋
63465be34e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c

+ 1 - 0
components/pkt_capture/core/src/wlan_pkt_capture_data_txrx.c

@@ -833,6 +833,7 @@ pkt_capture_rx_data_cb(
 		}
 
 		if (rx_desc->attention.last_mpdu) {
+			rssi_comb = 0;
 			preamble_type = 0;
 			vht_sig_a_1 = 0;
 			vht_sig_a_2 = 0;