mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
if (net_ratelimit()) IEEE80211_DEBUG_DROP(...) can pollute the logs with messages like: printk: 1 messages suppressed. printk: 2 messages suppressed. printk: 7 messages suppressed. if debugging information is disabled. These messages are printed by net_ratelimit(). Add a wrapper to net_ratelimit() that takes into account the log level, so that net_ratelimit() is called only when we really want to print something. Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
History
|
|
|---|---|---|
| .. | ||
| softmac | ||
| ieee80211_crypt.c | ||
| ieee80211_crypt_ccmp.c | ||
| ieee80211_crypt_tkip.c | ||
| ieee80211_crypt_wep.c | ||
| ieee80211_geo.c | ||
| ieee80211_module.c | ||
| ieee80211_rx.c | ||
| ieee80211_tx.c | ||
| ieee80211_wx.c | ||
| Kconfig | ||
| Makefile | ||