aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_sta.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_sta.c')
-rw-r--r--net/mac80211/ieee80211_sta.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index cf50a7bfb970..bd9d7aa74083 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -473,8 +473,6 @@ static void ieee80211_sta_tx(struct net_device *dev, struct sk_buff *skb,
473 pkt_data = (struct ieee80211_tx_packet_data *) skb->cb; 473 pkt_data = (struct ieee80211_tx_packet_data *) skb->cb;
474 memset(pkt_data, 0, sizeof(struct ieee80211_tx_packet_data)); 474 memset(pkt_data, 0, sizeof(struct ieee80211_tx_packet_data));
475 pkt_data->ifindex = sdata->dev->ifindex; 475 pkt_data->ifindex = sdata->dev->ifindex;
476 if (sdata->type == IEEE80211_IF_TYPE_MGMT)
477 pkt_data->flags |= IEEE80211_TXPD_MGMT_IFACE;
478 if (!encrypt) 476 if (!encrypt)
479 pkt_data->flags |= IEEE80211_TXPD_DO_NOT_ENCRYPT; 477 pkt_data->flags |= IEEE80211_TXPD_DO_NOT_ENCRYPT;
480 478