aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/mac802154/rx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
index 7669cdbba526..6ba2769f5fb4 100644
--- a/net/mac802154/rx.c
+++ b/net/mac802154/rx.c
@@ -241,6 +241,9 @@ ieee802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
241 skb2->dev = sdata->dev; 241 skb2->dev = sdata->dev;
242 242
243 ieee802154_deliver_skb(skb2); 243 ieee802154_deliver_skb(skb2);
244
245 sdata->dev->stats.rx_packets++;
246 sdata->dev->stats.rx_bytes += skb->len;
244 } 247 }
245} 248}
246 249