OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b989c1
)
cfg80211: add ratelimited variants of err and warn
author
Stanislaw Gruszka
<sgruszka@redhat.com>
Tue, 12 Mar 2019 09:51:40 +0000
(10:51 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 8 Apr 2019 11:31:24 +0000
(13:31 +0200)
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>
include/net/cfg80211.h
patch
|
blob
|
history
diff --git
a/include/net/cfg80211.h
b/include/net/cfg80211.h
index
bb307a1
..
13bfeb7
100644
(file)
--- a/
include/net/cfg80211.h
+++ b/
include/net/cfg80211.h
@@
-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)