From 14fedd47cd9b1bd6f17cc5715a0f11cd8816a660 Mon Sep 17 00:00:00 2001 From: Amar Singhal Date: Fri, 30 Nov 2018 11:27:30 -0800 Subject: [PATCH] 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 --- umac/regulatory/core/src/reg_services.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/regulatory/core/src/reg_services.c b/umac/regulatory/core/src/reg_services.c index 59903e73189d..15f2f3602448 100644 --- a/umac/regulatory/core/src/reg_services.c +++ b/umac/regulatory/core/src/reg_services.c @@ -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; }