add kernel packages for the ixp4xx-beeper and appletalk -- closes #6618
[openwrt/svn-archive/archive.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);