[PATCH] ieee80211-crypt: Make some TKIP and CCMP error logging conditional
commitaeb998c124786e8c7fbd6eab347230469e911872
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 9 Apr 2007 16:24:41 +0000 (9 11:24 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 15:01:04 +0000 (28 11:01 -0400)
tree93894a8364843421681b5250aae45479c77ff4bb
parent5d082fe85bf77f11aebb98d3bd29d66284d46851
[PATCH] ieee80211-crypt: Make some TKIP and CCMP error logging conditional

There are messages arising from ieee80211_crypt that spam the logs
of casual users. These are changed to be logged only if the user
specifically requests the IEEE80211_DEBUG_DROP messages. In either
case, the error/drop count is incremented.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_crypt_ccmp.c
net/ieee80211/ieee80211_crypt_tkip.c