aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 4278e545638f..37e3d5ef7e3f 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -752,6 +752,8 @@ ieee80211_tx_h_fragment(struct ieee80211_tx_data *tx)
752 skb_copy_queue_mapping(frag, first); 752 skb_copy_queue_mapping(frag, first);
753 753
754 frag->do_not_encrypt = first->do_not_encrypt; 754 frag->do_not_encrypt = first->do_not_encrypt;
755 frag->dev = first->dev;
756 frag->iif = first->iif;
755 757
756 pos += copylen; 758 pos += copylen;
757 left -= copylen; 759 left -= copylen;
@@ -1343,6 +1345,8 @@ int ieee80211_master_start_xmit(struct sk_buff *skb, struct net_device *dev)
1343 list) { 1345 list) {
1344 if (!netif_running(sdata->dev)) 1346 if (!netif_running(sdata->dev))
1345 continue; 1347 continue;
1348 if (sdata->vif.type != NL80211_IFTYPE_AP)
1349 continue;
1346 if (compare_ether_addr(sdata->dev->dev_addr, 1350 if (compare_ether_addr(sdata->dev->dev_addr,
1347 hdr->addr2)) { 1351 hdr->addr2)) {
1348 dev_hold(sdata->dev); 1352 dev_hold(sdata->dev);