Rate limit a (apparently) harmless warning in orinoco.c (My laptop remained connected with active X applications running over ssh while this message was hitting every second, since I patched my driver to include this the problem hasn't recurred.) Signed-Off-By: Ryan Anderson <ryan@michonline.com> ===== drivers/net/wireless/orinoco.c 1.27 vs edited ===== --- 1.27/drivers/net/wireless/orinoco.c 2004-03-03 13:27:06 -05:00 +++ edited/drivers/net/wireless/orinoco.c 2004-06-13 17:20:20 -04:00 @@ -1519,7 +1519,8 @@ 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) -- Ryan Anderson (sometimes Pug Majere)
Attachment:
signature.asc
Description: This is a digitally signed message part