projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb53d25
)
mac80211: fix a potential rate control related crash
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 8 Feb 2012 18:43:21 +0000
(18:43 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 8 Feb 2012 18:43:21 +0000
(18:43 +0000)
SVN-Revision: 30388
package/mac80211/patches/300-pending_work.patch
patch
|
blob
|
history
diff --git
a/package/mac80211/patches/300-pending_work.patch
b/package/mac80211/patches/300-pending_work.patch
index 83edd7e6b417bffbeb4abf31077712a64d45c639..b8cd51a09de0d771e30a579612e2ee30a8a7b521 100644
(file)
--- a/
package/mac80211/patches/300-pending_work.patch
+++ b/
package/mac80211/patches/300-pending_work.patch
@@
-253,3
+253,14
@@
WLAN_STA_CLEAR_PS_FILT,
WLAN_STA_MFP,
WLAN_STA_BLOCK_BA,
+--- a/net/mac80211/rate.h
++++ b/net/mac80211/rate.h
+@@ -37,7 +37,7 @@ static inline void rate_control_tx_statu
+ struct ieee80211_sta *ista = &sta->sta;
+ void *priv_sta = sta->rate_ctrl_priv;
+
+- if (!ref)
++ if (!ref || !test_sta_flag(sta, WLAN_STA_RATE_CONTROL))
+ return;
+
+ ref->ops->tx_status(ref->priv, sband, ista, priv_sta, skb);