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
This commit is contained in:

committato da
Madan Koyyalamudi

parent
125174cdd1
commit
2a660189e5
@@ -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;
|
||||
}
|
||||
|
Fai riferimento in un nuovo problema
Block a user