diff options
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) |