Merge branch 'master'
[linux-2.6.git] / drivers / net / wireless / orinoco.c
index 5db2bbad65c42986b0a1dcf41dd4402a8229999a..d3d4ec9e242e311a16127e635c37585d8fc1d61e 100644 (file)
@@ -563,8 +563,9 @@ static int orinoco_xmit(struct sk_buff *skb, struct net_device *dev)
                                txfid, NULL);
        if (err) {
                netif_start_queue(dev);
-               printk(KERN_ERR "%s: Error %d transmitting packet\n",
-                      dev->name, err);
+               if (net_ratelimit())
+                       printk(KERN_ERR "%s: Error %d transmitting packet\n",
+                               dev->name, err);
                stats->tx_errors++;
                goto fail;
        }