summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAnton Altaparmakov <aia21@cantab.net>2005-10-24 09:19:36 +0100
committerAnton Altaparmakov <aia21@cantab.net>2005-10-24 09:19:36 +0100
commit47c564e10f219f867bdb49225972749a43485a47 (patch)
tree5e119e0f2e011f422d880d88d1adb2142e508bfc /drivers/net
parentc9c2009a4e915db17f32701d1f0535b400e61b58 (diff)
parentba9e358fd04190a59e605c2963a15e014139a707 (diff)
downloadop-kernel-dev-47c564e10f219f867bdb49225972749a43485a47.zip
op-kernel-dev-47c564e10f219f867bdb49225972749a43485a47.tar.gz
Merge branch 'master' of /usr/src/ntfs-2.6/
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/orinoco.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c
index cf3daaa..15ceaf6 100644
--- a/drivers/net/wireless/orinoco.c
+++ b/drivers/net/wireless/orinoco.c
@@ -578,8 +578,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;
}
OpenPOWER on IntegriCloud