Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299995
b: refs/heads/master
c: 66f2c99
h: refs/heads/master
i:
  299993: 03592f4
  299991: 16bc504
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Apr 30, 2012
1 parent 2a93c13 commit 0fb5743
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c1bcdb5a3354b250b82a67549f57ac27a3bb85f
refs/heads/master: 66f2c99af3d6f2d0aa1120884cf1c60613ef61c0
3 changes: 2 additions & 1 deletion trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,8 @@ ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata,
tx->sta = rcu_dereference(sdata->u.vlan.sta);
if (!tx->sta && sdata->dev->ieee80211_ptr->use_4addr)
return TX_DROP;
} else if (info->flags & IEEE80211_TX_CTL_INJECTED) {
} else if (info->flags & IEEE80211_TX_CTL_INJECTED ||
tx->sdata->control_port_protocol == tx->skb->protocol) {
tx->sta = sta_info_get_bss(sdata, hdr->addr1);
}
if (!tx->sta)
Expand Down

0 comments on commit 0fb5743

Please sign in to comment.