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>
Tue, 12 Dec 2017 11:46:04 +0000 (12:46 +0100)
commitdae73d4057ff7e754049cd5a4f4ee542bbb2cdf4
tree4b9e4329e23918106dfd75e6e6dfcaddf19a87b1
parent82b761126dfb04581b18eaf8c54ba5e22897d2a0
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