projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d57ad
)
mac80211: Don't call rate control when HW handles it
author
Vasanthakumar
<vasanth@atheros.com>
Mon, 1 Feb 2010 13:19:07 +0000
(18:49 +0530)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 1 Feb 2010 20:40:09 +0000
(15:40 -0500)
Rate control should not be called to update the tx status
when HW does the RC.
Signed-off-by: Vasanthakumar <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rate.h
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/rate.h
b/net/mac80211/rate.h
index 669dddd405210551a58cabc61d9c1580cf71edac..998cf7a935b66f80b01600816fb81205d97759ea 100644
(file)
--- a/
net/mac80211/rate.h
+++ b/
net/mac80211/rate.h
@@
-44,6
+44,10
@@
static inline void rate_control_tx_status(struct ieee80211_local *local,
struct rate_control_ref *ref = local->rate_ctrl;
struct ieee80211_sta *ista = &sta->sta;
void *priv_sta = sta->rate_ctrl_priv;
+
+ if (!ref)
+ return;
+
ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb);
}