瀏覽代碼

qcacmn: Enhance regulatory debug

The regulatory API reg_get_bonded_chan_entry() does not print the input
parameter "cen320_freq" which indicates the 320 MHz center frequency and is
used in 11be regulatory calls.

Add the parameter "cen320_freq" in the existing regulatory debug print for
the API.

Change-Id: I9edec5855326e78b6898d3a443d96d938fbfe44f
CRs-Fixed: 3369874
Vignesh U 2 年之前
父節點
當前提交
3388a6e5a2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      umac/regulatory/core/src/reg_services_common.c

+ 2 - 2
umac/regulatory/core/src/reg_services_common.c

@@ -421,8 +421,8 @@ reg_get_bonded_chan_entry(qdf_freq_t freq,
 			return &bonded_chan_arr[i];
 	}
 
-	reg_debug("Could not find a bonded pair for freq %d and width %d",
-		  freq, chwidth);
+	reg_debug("Could not find a bonded pair for freq %d and width %d cen320_freq %u",
+		  freq, chwidth, cen320_freq);
 	return NULL;
 }