]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ethernet/eth.c
omap mailbox: remove unnecessary header file inclusion
[linux-2.6-omap-h63xx.git] / net / ethernet / eth.c
index a7b417523e9b1181597c340d9305a57dd4c9d431..a80839b02e3f297cff4439cd7385629036cb0165 100644 (file)
@@ -301,7 +301,7 @@ static int eth_change_mtu(struct net_device *dev, int new_mtu)
 static int eth_validate_addr(struct net_device *dev)
 {
        if (!is_valid_ether_addr(dev->dev_addr))
-               return -EINVAL;
+               return -EADDRNOTAVAIL;
 
        return 0;
 }