[mcs814x] nuport-mac: various fixes
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Oct 2012 21:03:57 +0000 (21:03 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Oct 2012 21:03:57 +0000 (21:03 +0000)
commit05a3ece84affbb56ac43d1bf67b15d06bb354ca0
treec786e9938e6ba4cbc5691fd57931fc4cee73e9b4
parentf3263c96790fcaf71c0f325ab55ba4c670bd87ec
[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

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