qcacmn: Update the vdev_id in the vdev_chain_rssi stats
In tgt layer, rssi_stats are copied by comparing the vdev id filled in the target layer and last reqested stats vdev id. But in target layer api, target_if_cp_stats_extract_vdev_chain_rssi_stats vdev id is not filled and that can lead to wrong stats in the upper layers. Update vdev id in the rssi stats. Change-Id: I6a8bd032152b43b90ffd4acfc760e218bf4bba5b CRs-Fixed: 2530148
This commit is contained in:
@@ -324,6 +324,7 @@ static QDF_STATUS target_if_cp_stats_extract_vdev_chain_rssi_stats(
|
||||
&rssi_stats);
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
continue;
|
||||
ev->vdev_chain_rssi[i].vdev_id = rssi_stats.vdev_id;
|
||||
|
||||
for (j = 0; j < MAX_NUM_CHAINS; j++) {
|
||||
dat_snr = rssi_stats.rssi_avg_data[j];
|
||||
|
Reference in New Issue
Block a user