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 | 0d84e3d16f1c68b5efdcabceb9a6a6954937d72b (patch) | |
tree | b2bc9f2b0ae12dd442850c5be6723c1c8af576ae /package/mac80211/patches/530-mac80211_fix_beacon_race.patch | |
parent | 8f03b15a20a71fac91b8963af9eaf86747341941 (diff) | |
download | upstream-0d84e3d16f1c68b5efdcabceb9a6a6954937d72b.tar.gz upstream-0d84e3d16f1c68b5efdcabceb9a6a6954937d72b.tar.bz2 upstream-0d84e3d16f1c68b5efdcabceb9a6a6954937d72b.zip |
mac80211: update to wireless-testing 2011-01-24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25093 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..36c09169bc --- /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) |