[mcs814x] nuport-mac: various fixes
authorFlorian Fainelli <florian@openwrt.org>
Mon, 15 Oct 2012 21:03:57 +0000 (21:03 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 15 Oct 2012 21:03:57 +0000 (21:03 +0000)
commit54317e28dd6c857fcd38c44ba351cd80f0315c8c
treec786e9938e6ba4cbc5691fd57931fc4cee73e9b4
parent7975b58ca009a8b78a8c1d02cf65371d813e75d4
[mcs814x] nuport-mac: various fixes

- properly check for the link up condition in the phylib adjust callback
- do not assign skb->dev, eth_type_trans() already does it
- handle skb allocation failures in the refill path

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