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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 1780c24f7957..acfc3054d467 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1528,8 +1528,8 @@ int ieee80211_subif_start_xmit(struct sk_buff *skb,
1528 pkt_data->flags |= IEEE80211_TXPD_MGMT_IFACE; 1528 pkt_data->flags |= IEEE80211_TXPD_MGMT_IFACE;
1529 1529
1530 skb->dev = local->mdev; 1530 skb->dev = local->mdev;
1531 sdata->stats.tx_packets++; 1531 dev->stats.tx_packets++;
1532 sdata->stats.tx_bytes += skb->len; 1532 dev->stats.tx_bytes += skb->len;
1533 1533
1534 /* Update skb pointers to various headers since this modified frame 1534 /* Update skb pointers to various headers since this modified frame
1535 * is going to go through Linux networking code that may potentially 1535 * is going to go through Linux networking code that may potentially
@@ -1602,8 +1602,8 @@ int ieee80211_mgmt_start_xmit(struct sk_buff *skb, struct net_device *dev)
1602 if (!(fc & IEEE80211_FCTL_PROTECTED)) 1602 if (!(fc & IEEE80211_FCTL_PROTECTED))
1603 pkt_data->flags |= IEEE80211_TXPD_DO_NOT_ENCRYPT; 1603 pkt_data->flags |= IEEE80211_TXPD_DO_NOT_ENCRYPT;
1604 1604
1605 sdata->stats.tx_packets++; 1605 dev->stats.tx_packets++;
1606 sdata->stats.tx_bytes += skb->len; 1606 dev->stats.tx_bytes += skb->len;
1607 1607
1608 dev_queue_xmit(skb); 1608 dev_queue_xmit(skb);
1609 1609