diff options
Diffstat (limited to 'drivers/net/ni52.c')
-rw-r--r-- | drivers/net/ni52.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ni52.c b/drivers/net/ni52.c index 77d44a061703..a0ac5d4f27d3 100644 --- a/drivers/net/ni52.c +++ b/drivers/net/ni52.c | |||
@@ -1183,7 +1183,7 @@ static int ni52_send_packet(struct sk_buff *skb, struct net_device *dev) | |||
1183 | 1183 | ||
1184 | if (skb->len > XMIT_BUFF_SIZE) { | 1184 | if (skb->len > XMIT_BUFF_SIZE) { |
1185 | printk(KERN_ERR "%s: Sorry, max. framelength is %d bytes. The length of your frame is %d bytes.\n", dev->name, XMIT_BUFF_SIZE, skb->len); | 1185 | printk(KERN_ERR "%s: Sorry, max. framelength is %d bytes. The length of your frame is %d bytes.\n", dev->name, XMIT_BUFF_SIZE, skb->len); |
1186 | return 0; | 1186 | return NETDEV_TX_OK; |
1187 | } | 1187 | } |
1188 | 1188 | ||
1189 | netif_stop_queue(dev); | 1189 | netif_stop_queue(dev); |
@@ -1267,7 +1267,7 @@ static int ni52_send_packet(struct sk_buff *skb, struct net_device *dev) | |||
1267 | } | 1267 | } |
1268 | dev_kfree_skb(skb); | 1268 | dev_kfree_skb(skb); |
1269 | #endif | 1269 | #endif |
1270 | return 0; | 1270 | return NETDEV_TX_OK; |
1271 | } | 1271 | } |
1272 | 1272 | ||
1273 | /******************************************* | 1273 | /******************************************* |