Commit 76c204cb authored by Ryan Anderson's avatar Ryan Anderson Committed by Ralf Bächle

[PATCH] orinoco.c rate limit lost information frame message

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: default avatarRyan Anderson <ryan@michonline.com>
parent b51852d0
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment