aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/eepro.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/eepro.c')
-rw-r--r--drivers/net/eepro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c
index 4f7003485348..53317a83857a 100644
--- a/drivers/net/eepro.c
+++ b/drivers/net/eepro.c
@@ -1145,7 +1145,7 @@ static int eepro_send_packet(struct sk_buff *skb, struct net_device *dev)
1145 1145
1146 if (length < ETH_ZLEN) { 1146 if (length < ETH_ZLEN) {
1147 if (skb_padto(skb, ETH_ZLEN)) 1147 if (skb_padto(skb, ETH_ZLEN))
1148 return 0; 1148 return NETDEV_TX_OK;
1149 length = ETH_ZLEN; 1149 length = ETH_ZLEN;
1150 } 1150 }
1151 netif_stop_queue (dev); 1151 netif_stop_queue (dev);
@@ -1178,7 +1178,7 @@ static int eepro_send_packet(struct sk_buff *skb, struct net_device *dev)
1178 eepro_en_int(ioaddr); 1178 eepro_en_int(ioaddr);
1179 spin_unlock_irqrestore(&lp->lock, flags); 1179 spin_unlock_irqrestore(&lp->lock, flags);
1180 1180
1181 return 0; 1181 return NETDEV_TX_OK;
1182} 1182}
1183 1183
1184 1184