From ad8f70745947637c8a1dcb0b560c6112737152bb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 25 Feb 2016 21:33:38 +0100 Subject: [PATCH] mt7603: remove unnecessary tx_info overrides for beacons Signed-off-by: Felix Fietkau --- mt7603_beacon.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mt7603_beacon.c b/mt7603_beacon.c index 7862af93..38d972b6 100644 --- a/mt7603_beacon.c +++ b/mt7603_beacon.c @@ -24,7 +24,6 @@ mt7603_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) { struct mt7603_dev *dev = (struct mt7603_dev *) priv; struct mt7603_vif *mvif = (struct mt7603_vif *) vif->drv_priv; - struct ieee80211_tx_info *info; struct sk_buff *skb = NULL; if (!(dev->beacon_mask & BIT(mvif->idx))) @@ -34,9 +33,6 @@ mt7603_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) if (!skb) return; - info = IEEE80211_SKB_CB(skb); - info->flags |= IEEE80211_TX_CTL_ASSIGN_SEQ; - info->control.vif = vif; mt76_tx_queue_skb(&dev->mt76, &dev->mt76.q_tx[MT_TXQ_BEACON], skb, &mvif->sta.wcid, NULL); }