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)
commit254d851d8a9434e9c8a12a6ec96538ba13101600
tree195df84fd2129c2d04647251972588af9a2d7fb4
parent60ecd5fe04ebeaefedad4d06a756bc46bc772638
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