mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 00:38:55 +00:00
cfg80211: add ratelimited variants of err and warn
wiphy_{err,warn}_ratelimited will be used by rt2x00 Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
5b989c18da
commit
a58d7525b8
@ -7183,6 +7183,11 @@ void cfg80211_pmsr_complete(struct wireless_dev *wdev,
|
||||
#define wiphy_info(wiphy, format, args...) \
|
||||
dev_info(&(wiphy)->dev, format, ##args)
|
||||
|
||||
#define wiphy_err_ratelimited(wiphy, format, args...) \
|
||||
dev_err_ratelimited(&(wiphy)->dev, format, ##args)
|
||||
#define wiphy_warn_ratelimited(wiphy, format, args...) \
|
||||
dev_warn_ratelimited(&(wiphy)->dev, format, ##args)
|
||||
|
||||
#define wiphy_debug(wiphy, format, args...) \
|
||||
wiphy_printk(KERN_DEBUG, wiphy, format, ##args)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user