Explorar o código

qcacmn: drop the log level to debug for invalid channel number

Drop the log level to debug from error for the prints indicating
input or output channel number is invalid.

Change-Id: Ief2f609f1c95c223c97cded6d81460e52a34c729
CRs-Fixed: 3100105
Tushnim Bhattacharyya %!s(int64=3) %!d(string=hai) anos
pai
achega
2a660189e5
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      umac/regulatory/core/src/reg_services_common.c

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

@@ -1420,7 +1420,7 @@ uint16_t reg_legacy_chan_to_freq(struct wlan_objmgr_pdev *pdev,
 	uint16_t max_chan_range = MAX_5GHZ_CHANNEL;
 
 	if (chan_num == 0) {
-		reg_err_rl("Invalid channel %d", chan_num);
+		reg_debug_rl("Invalid channel %d", chan_num);
 		return 0;
 	}
 
@@ -2309,7 +2309,7 @@ qdf_freq_t reg_chan_band_to_freq(struct wlan_objmgr_pdev *pdev,
 	uint16_t freq;
 
 	if (chan_num == 0) {
-		reg_err_rl("Invalid channel %d", chan_num);
+		reg_debug_rl("Invalid channel %d", chan_num);
 		return 0;
 	}
 
@@ -2727,7 +2727,7 @@ enum channel_enum reg_get_chan_enum_for_freq(qdf_freq_t freq)
 		if (channel_map[count].center_freq == freq)
 			return count;
 
-	reg_err_rl("invalid channel center frequency %d", freq);
+	reg_debug_rl("invalid channel center frequency %d", freq);
 
 	return INVALID_CHANNEL;
 }