ソースを参照

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 - 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;