diff options
Diffstat (limited to 'drivers/net/irda/au1k_ir.c')
-rw-r--r-- | drivers/net/irda/au1k_ir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/irda/au1k_ir.c b/drivers/net/irda/au1k_ir.c index c4361d466597..22baf65e1563 100644 --- a/drivers/net/irda/au1k_ir.c +++ b/drivers/net/irda/au1k_ir.c | |||
@@ -502,7 +502,7 @@ static int au1k_irda_hard_xmit(struct sk_buff *skb, struct net_device *dev) | |||
502 | aup->newspeed = 0; | 502 | aup->newspeed = 0; |
503 | } | 503 | } |
504 | dev_kfree_skb(skb); | 504 | dev_kfree_skb(skb); |
505 | return 0; | 505 | return NETDEV_TX_OK; |
506 | } | 506 | } |
507 | 507 | ||
508 | ptxd = aup->tx_ring[aup->tx_head]; | 508 | ptxd = aup->tx_ring[aup->tx_head]; |
@@ -555,7 +555,7 @@ static int au1k_irda_hard_xmit(struct sk_buff *skb, struct net_device *dev) | |||
555 | dev_kfree_skb(skb); | 555 | dev_kfree_skb(skb); |
556 | aup->tx_head = (aup->tx_head + 1) & (NUM_IR_DESC - 1); | 556 | aup->tx_head = (aup->tx_head + 1) & (NUM_IR_DESC - 1); |
557 | dev->trans_start = jiffies; | 557 | dev->trans_start = jiffies; |
558 | return 0; | 558 | return NETDEV_TX_OK; |
559 | } | 559 | } |
560 | 560 | ||
561 | 561 | ||