mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Rate limit invalid channel number messages
Channel number can be valid when finding out the enumeration for the channel. Rate limit the messages for the same. Change-Id: Id8755cffa9030054698f9e5e65c7c30c3155ad1e CRs-Fixed: 2359311
This commit is contained in:
parent
9c68825b0b
commit
14fedd47cd
1 changed files with 1 additions and 1 deletions
|
|
@ -863,7 +863,7 @@ enum channel_enum reg_get_chan_enum(uint32_t chan_num)
|
|||
if (channel_map[count].chan_num == chan_num)
|
||||
return count;
|
||||
|
||||
reg_err("invalid channel number %d", chan_num);
|
||||
reg_debug_rl("invalid channel %d", chan_num);
|
||||
|
||||
return INVALID_CHANNEL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue