Browse Source

qcacld-3.0: Update freq param in connectivity log

While logging, scoring info freq param is not updated.
Fix is to add freq info in the log record sent to supplicant.

Change-Id: Id3c0d154e245376f494970c99589db0c3d37f7ac
CRs-Fixed: 3065693
Amruta Kulkarni 3 years ago
parent
commit
c5705afece

+ 2 - 0
components/umac/mlme/connection_mgr/core/src/wlan_cm_roam_offload.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -4832,6 +4833,7 @@ void cm_roam_candidate_info_event(struct wmi_roam_candidate_info *ap,
 	log_record->ap.total_score = ap->total_score;
 	log_record->ap.etp = ap->etp;
 	log_record->ap.idx = cand_ap_idx;
+	log_record->ap.freq = ap->freq;
 
 	wlan_connectivity_log_enqueue(log_record);
 	qdf_mem_free(log_record);