[mcs814x] 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)
commit7332c964748f6d1aa163028842cee36e80220862
tree59c7fd2223e2a1421ed8c641844d16d4ed517fa0
parenta4ea91694e3fdd35a5ef25bd4f87e9c54118321a
[mcs814x] 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