VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / net / wireless / orinoco.c
index 11af430..8161a1c 100644 (file)
@@ -1519,7 +1519,8 @@ static void __orinoco_ev_wterr(struct net_device *dev, hermes_t *hw)
 
 static void __orinoco_ev_infdrop(struct net_device *dev, hermes_t *hw)
 {
-       printk(KERN_WARNING "%s: Information frame lost.\n", dev->name);
+       if (net_ratelimit())
+               printk(KERN_WARNING "%s: Information frame lost.\n", dev->name);
 }
 
 static void print_linkstatus(struct net_device *dev, u16 status)