]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
zd1211rw: do not ratelimit no-ops
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Feb 2009 20:25:37 +0000 (21:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Feb 2009 18:45:19 +0000 (13:45 -0500)
commit570a0a7c3ba6e44b0fe7f1d42e69ba139b533737
tree82b25c4475534ed337fdb5f2b4e82b8dae32f064
parent572e00122190e3064fa19bd9780b146d2d0f1905
zd1211rw: do not ratelimit no-ops

It is rather confusing to see this in the log:
[  695.606877] __ratelimit: 40 callbacks suppressed
[  700.726878] __ratelimit: 40 callbacks suppressed

without ever seeing any actual message. This is because
zd1211rw doesn't compile out the net_ratelimit() call
properly if debugging is not enabled.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_def.h
drivers/net/wireless/zd1211rw/zd_mac.c