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,6 +1519,7 @@ static void __orinoco_ev_wterr(struct net_device *dev, hermes_t *hw) ...@@ -1519,6 +1519,7 @@ static void __orinoco_ev_wterr(struct net_device *dev, hermes_t *hw)
static void __orinoco_ev_infdrop(struct net_device *dev, hermes_t *hw) static void __orinoco_ev_infdrop(struct net_device *dev, hermes_t *hw)
{ {
if (net_ratelimit())
printk(KERN_WARNING "%s: Information frame lost.\n", dev->name); printk(KERN_WARNING "%s: Information frame lost.\n", dev->name);
} }
......
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