Skip to content

Commit ce5b071

Browse files
committed
mac80211: don't update dev->trans_start
This isn't necessary any more as the stack will automatically update the TXQ's trans_start after calling ndo_start_xmit(). Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 6fe3eac commit ce5b071

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/mac80211/tx.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,7 +2729,6 @@ static bool ieee80211_xmit_fast(struct ieee80211_sub_if_data *sdata,
27292729

27302730
dev->stats.tx_packets++;
27312731
dev->stats.tx_bytes += skb->len + extra_head;
2732-
dev->trans_start = jiffies;
27332732

27342733
/* will not be crypto-handled beyond what we do here, so use false
27352734
* as the may-encrypt argument for the resize to not account for
@@ -2912,7 +2911,6 @@ void __ieee80211_subif_start_xmit(struct sk_buff *skb,
29122911

29132912
dev->stats.tx_packets++;
29142913
dev->stats.tx_bytes += skb->len;
2915-
dev->trans_start = jiffies;
29162914

29172915
ieee80211_xmit(sdata, sta, skb);
29182916
}

0 commit comments

Comments
 (0)