wlan-ap-Telecominfraproject/feeds/wifi-ax/mac80211/patches/qca/106-mac80211-enable-rx_packet-counter-in-offload-rx-path.patch
John Crispin 528a778e38 open-converged-wireless: Import 21.02 based uCentral tree
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-25 12:19:47 +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)) {