projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b7dff4
)
mac80211: warn only once if ampdu_action isn't assigned
author
Chaitanya
<chaitanyatk@posedge.com>
Fri, 7 Dec 2012 06:49:34 +0000
(12:19 +0530)
committer
Johannes Berg
<johannes.berg@intel.com>
Fri, 7 Dec 2012 08:12:50 +0000
(09:12 +0100)
New drivers that might not support ampdu_action yet while in
development cause a lot of warnings, use WARN_ON_ONCE instead.
Signed-off-by: T Krushna Chaitanya <chaitanyatk@posedge.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-tx.c
patch
|
blob
|
history
diff --git
a/net/mac80211/agg-tx.c
b/net/mac80211/agg-tx.c
index
4152ed1
..
eb9df22
100644
(file)
--- a/
net/mac80211/agg-tx.c
+++ b/
net/mac80211/agg-tx.c
@@
-445,7
+445,7
@@
int ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid,
trace_api_start_tx_ba_session(pubsta, tid);
- if (WARN_ON(!local->ops->ampdu_action))
+ if (WARN_ON
_ONCE
(!local->ops->ampdu_action))
return -EINVAL;
if ((tid >= IEEE80211_NUM_TIDS) ||