diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-01-24 18:54:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-01-24 18:54:16 +0000 |
commit | 9b34dfb5715cceeddb974751bf60c4766cbf700b (patch) | |
tree | d76d3bf6a8a28328e24e0c2a3d27aaca20233c9d /package/mac80211/patches/530-mac80211_fix_beacon_race.patch | |
parent | 18c4d8389eb23d8dc5caaebd6a5bb8e3d130ed2f (diff) | |
download | mtk-20170518-9b34dfb5715cceeddb974751bf60c4766cbf700b.zip mtk-20170518-9b34dfb5715cceeddb974751bf60c4766cbf700b.tar.gz mtk-20170518-9b34dfb5715cceeddb974751bf60c4766cbf700b.tar.bz2 |
mac80211: update to wireless-testing 2011-01-24
SVN-Revision: 25093
Diffstat (limited to 'package/mac80211/patches/530-mac80211_fix_beacon_race.patch')
-rw-r--r-- | package/mac80211/patches/530-mac80211_fix_beacon_race.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/mac80211/patches/530-mac80211_fix_beacon_race.patch b/package/mac80211/patches/530-mac80211_fix_beacon_race.patch new file mode 100644 index 0000000..36c0916 --- /dev/null +++ b/package/mac80211/patches/530-mac80211_fix_beacon_race.patch @@ -0,0 +1,12 @@ +--- a/net/mac80211/tx.c ++++ b/net/mac80211/tx.c +@@ -2241,6 +2241,9 @@ struct sk_buff *ieee80211_beacon_get_tim + + sdata = vif_to_sdata(vif); + ++ if (!ieee80211_sdata_running(sdata)) ++ goto out; ++ + if (tim_offset) + *tim_offset = 0; + if (tim_length) |