diff options
Diffstat (limited to 'drivers/s390/net/lcs.c')
-rw-r--r-- | drivers/s390/net/lcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c index 840dbf3d3416..a45bc24eb5f9 100644 --- a/drivers/s390/net/lcs.c +++ b/drivers/s390/net/lcs.c | |||
@@ -1562,7 +1562,7 @@ __lcs_start_xmit(struct lcs_card *card, struct sk_buff *skb, | |||
1562 | if (skb == NULL) { | 1562 | if (skb == NULL) { |
1563 | card->stats.tx_dropped++; | 1563 | card->stats.tx_dropped++; |
1564 | card->stats.tx_errors++; | 1564 | card->stats.tx_errors++; |
1565 | return -EIO; | 1565 | return 0; |
1566 | } | 1566 | } |
1567 | if (card->state != DEV_STATE_UP) { | 1567 | if (card->state != DEV_STATE_UP) { |
1568 | dev_kfree_skb(skb); | 1568 | dev_kfree_skb(skb); |
@@ -1587,7 +1587,7 @@ __lcs_start_xmit(struct lcs_card *card, struct sk_buff *skb, | |||
1587 | card->tx_buffer = lcs_get_buffer(&card->write); | 1587 | card->tx_buffer = lcs_get_buffer(&card->write); |
1588 | if (card->tx_buffer == NULL) { | 1588 | if (card->tx_buffer == NULL) { |
1589 | card->stats.tx_dropped++; | 1589 | card->stats.tx_dropped++; |
1590 | rc = -EBUSY; | 1590 | rc = NETDEV_TX_BUSY; |
1591 | goto out; | 1591 | goto out; |
1592 | } | 1592 | } |
1593 | card->tx_buffer->callback = lcs_txbuffer_cb; | 1593 | card->tx_buffer->callback = lcs_txbuffer_cb; |