mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do...
[openwrt.git] / package / mac80211 / patches / 530-mac80211_fix_beacon_race.patch
1 --- a/net/mac80211/tx.c
2 +++ b/net/mac80211/tx.c
3 @@ -2241,6 +2241,9 @@ struct sk_buff *ieee80211_beacon_get_tim
4
5 sdata = vif_to_sdata(vif);
6
7 + if (!ieee80211_sdata_running(sdata))
8 + goto out;
9 +
10 if (tim_offset)
11 *tim_offset = 0;
12 if (tim_length)
This page took 0.042183 seconds and 5 git commands to generate.