581b4a01436e1e42fa160aca56c9a05032566903
[openwrt.git] / package / mac80211 / patches / 570-ap_vlan_injection.patch
1 --- a/net/mac80211/tx.c
2 +++ b/net/mac80211/tx.c
3 @@ -1135,6 +1135,8 @@ ieee80211_tx_prepare(struct ieee80211_su
4 tx->sta = rcu_dereference(sdata->u.vlan.sta);
5 if (!tx->sta && sdata->dev->ieee80211_ptr->use_4addr)
6 return TX_DROP;
7 + } else if (info->flags & IEEE80211_TX_CTL_INJECTED) {
8 + tx->sta = sta_info_get_bss(sdata, hdr->addr1);
9 }
10 if (!tx->sta)
11 tx->sta = sta_info_get(sdata, hdr->addr1);
This page took 0.044298 seconds and 3 git commands to generate.