Bläddra i källkod

qcacmn: Remove redundant print from scm_update_rnr_info()

Whenever there is a scm_update_rnr_info() function call,
print is flooded in each scan.
It is not giving any additional information.

Remove the print "scm_debug("Failed to get meta, freq %d", freq)"

Change-Id: Id6adda855e1d181704d8c69c10e4d041af758e43
CRs-Fixed: 2761408
Deeksha Gupta 4 år sedan
förälder
incheckning
eaf0cf59d0
1 ändrade filer med 1 tillägg och 5 borttagningar
  1. 1 5
      umac/scan/core/src/wlan_scan_manager.c

+ 1 - 5
umac/scan/core/src/wlan_scan_manager.c

@@ -1049,11 +1049,7 @@ static void scm_update_rnr_info(struct wlan_objmgr_psoc *psoc,
 		freq = chan_list->chan[i].freq;
 
 		chan = scm_get_chan_meta(psoc, freq);
-		if (!chan) {
-			scm_debug("Failed to get meta, freq %d", freq);
-			continue;
-		}
-		if (qdf_list_empty(&chan->rnr_list))
+		if (!chan || qdf_list_empty(&chan->rnr_list))
 			continue;
 
 		qdf_list_peek_front(&chan->rnr_list, &cur_node);