net: mediatek: dropped rx packets are not being counted properly
authorJohn Crispin <john@phrozen.org>
Fri, 10 Jun 2016 11:28:01 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:29:29 +0000 (23:29 -0700)
commit94321a9fc9f5b6c6e949cc7c69741538f556ab74
tree3ebe879aa582845b72a7b750b5e1cf05df82642b
parent2fae723cefb8bfe712371978288aa0a70b54802e
net: mediatek: dropped rx packets are not being counted properly

There are two places inside mtk_poll_rx where rx_dropped is not being
incremented properly. Fix this by adding the missing code to increment
the counter.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c