[mcs814x] nuport-mac: check netif_receive_skb() return value
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 11 Jul 2012 08:29:01 +0000 (08:29 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 11 Jul 2012 08:29:01 +0000 (08:29 +0000)
commit261b7b2d42d64face367378486eb2f188bb392a9
tree59c7fd2223e2a1421ed8c641844d16d4ed517fa0
parent05b926afe0c85931de2d589ccad665f7d67172a5
[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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32659 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c