Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee370ced authored by Christian Lamparter's avatar Christian Lamparter Committed by John W. Linville
Browse files

p54: update ACK failure statistic counter in real-time

parent 54fdb040
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -720,6 +720,7 @@ static void p54_rx_frame_sent(struct ieee80211_hw *dev, struct sk_buff *skb)
		entry_hdr = (struct p54_hdr *) entry->data;
		entry_data = (struct p54_tx_data *) entry_hdr->data;
		priv->tx_stats[entry_data->hw_queue].len--;
		priv->stats.dot11ACKFailureCount += payload->tries - 1;

		if (unlikely(entry == priv->cached_beacon)) {
			kfree_skb(entry);