qcacmn: Fix uninitialized var ptr issue and null check for num_pscos
1.This change fixes the use of uninitialized variable in host driver. 2.Adds NULL check for num_psocs in mlo_peer_calculate_avg_rssi to avoid undefined behaviour. Change-Id: Ifbfef42b5930dfe15736a75a74e81155c5f1fbce CRs-Fixed: 3297794
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Madan Koyyalamudi

ebeveyn
93723c6fe1
işleme
9ab40cb89e
@@ -4043,7 +4043,7 @@ int target_if_spectral_process_report_gen3(
|
||||
int ret = 0;
|
||||
struct direct_buf_rx_data *payload = buf;
|
||||
struct target_if_spectral *spectral;
|
||||
struct spectral_report report;
|
||||
struct spectral_report report = {0};
|
||||
int samp_msg_index;
|
||||
struct spectral_data_stats *spectral_dp_stats;
|
||||
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle