diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/orinoco.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c index 5db2bbad65c4..d3d4ec9e242e 100644 --- a/drivers/net/wireless/orinoco.c +++ b/drivers/net/wireless/orinoco.c | |||
@@ -563,8 +563,9 @@ static int orinoco_xmit(struct sk_buff *skb, struct net_device *dev) | |||
563 | txfid, NULL); | 563 | txfid, NULL); |
564 | if (err) { | 564 | if (err) { |
565 | netif_start_queue(dev); | 565 | netif_start_queue(dev); |
566 | printk(KERN_ERR "%s: Error %d transmitting packet\n", | 566 | if (net_ratelimit()) |
567 | dev->name, err); | 567 | printk(KERN_ERR "%s: Error %d transmitting packet\n", |
568 | dev->name, err); | ||
568 | stats->tx_errors++; | 569 | stats->tx_errors++; |
569 | goto fail; | 570 | goto fail; |
570 | } | 571 | } |