wlan-ap-Telecominfraproject/feeds/wifi-ax/mac80211/patches/qca/106-mac80211-enable-rx_packet-counter-in-offload-rx-path.patch
John Crispin 54939fdb0f mac80211-ax: update to ath11k-ed2 release
Signed-off-by: John Crispin <john@phrozen.org>
2020-12-02 09:48:18 +01:00

11 lines
292 B
Diff

--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -4870,6 +4870,7 @@ ieee80211_rx_handle_decap_offl(struct ie
u64_stats_update_begin(&stats->syncp);
stats->bytes += skb->len;
+ stats->packets++;
u64_stats_update_end(&stats->syncp);
if (!(status->flag & RX_FLAG_NO_SIGNAL_VAL)) {