ar71xx: only access device stats in tx handler if packets were processed
authorFelix Fietkau <nbd@nbd.name>
Tue, 5 Dec 2017 13:23:59 +0000 (14:23 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 5 Feb 2018 09:16:25 +0000 (10:16 +0100)
commit31e6016d2e41199b22577b429b8691526a4359f6
treef9a677db364bdd026e06777f068731b81b1ff9af
parent890e7458b0e8b62b99a3dcc50ddee8763c9a22d2
ar71xx: only access device stats in tx handler if packets were processed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c