nuport-mac: check netif_receive_skb() return value
authorFlorian Fainelli <florian@openwrt.org>
Wed, 11 Jul 2012 08:29:01 +0000 (08:29 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 11 Jul 2012 08:29:01 +0000 (08:29 +0000)
commit8765e49fbeb61447a01003a92ab54ce883a88389
treef83cdf0eb6f21a62be8cf0b300695227c8154c2b
parent32eef456dfc3ae58fe4a55a1217608ab94c168c0
nuport-mac: check netif_receive_skb() return value

We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

SVN-Revision: 32659
target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c