diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-09-08 11:10:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-09-08 11:10:54 +0000 |
commit | 6f6af5bee796b43722d363438a72ba524a3f7586 (patch) | |
tree | fd343100ffea704dd6a8736351f27314e63a37a5 /package/mac80211/patches/570-mac80211_tx_status_crash.patch | |
parent | 6771d63284ee86924f5705a53953a50c4c43135a (diff) | |
download | mtk-20170518-6f6af5bee796b43722d363438a72ba524a3f7586.zip mtk-20170518-6f6af5bee796b43722d363438a72ba524a3f7586.tar.gz mtk-20170518-6f6af5bee796b43722d363438a72ba524a3f7586.tar.bz2 |
mac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more
SVN-Revision: 33331
Diffstat (limited to 'package/mac80211/patches/570-mac80211_tx_status_crash.patch')
-rw-r--r-- | package/mac80211/patches/570-mac80211_tx_status_crash.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/mac80211/patches/570-mac80211_tx_status_crash.patch b/package/mac80211/patches/570-mac80211_tx_status_crash.patch deleted file mode 100644 index abcf56e..0000000 --- a/package/mac80211/patches/570-mac80211_tx_status_crash.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/net/mac80211/status.c -+++ b/net/mac80211/status.c -@@ -517,6 +517,8 @@ void ieee80211_tx_status(struct ieee8021 - - if (info->flags & IEEE80211_TX_INTFL_NL80211_FRAME_TX) { - u64 cookie = (unsigned long)skb; -+ bool found = false; -+ - acked = info->flags & IEEE80211_TX_STAT_ACK; - - /* -@@ -524,8 +526,18 @@ void ieee80211_tx_status(struct ieee8021 - * we cannot use skb->dev->ieee80211_ptr - */ - -- if (ieee80211_is_nullfunc(hdr->frame_control) || -- ieee80211_is_qos_nullfunc(hdr->frame_control)) -+ list_for_each_entry_rcu(sdata, &local->interfaces, list) { -+ if (skb->dev != sdata->dev) -+ continue; -+ -+ found = true; -+ break; -+ } -+ -+ if (!found) -+ skb->dev = NULL; -+ else if (ieee80211_is_nullfunc(hdr->frame_control) || -+ ieee80211_is_qos_nullfunc(hdr->frame_control)) - cfg80211_probe_status(skb->dev, hdr->addr1, - cookie, acked, GFP_ATOMIC); - else |