mac80211: make "decrypt failed" messages conditional upon MAC80211_DEBUG
commit7f3ad8943e2e6336ba229b208be8c7a80730c5d4
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Nov 2007 22:12:31 +0000 (6 17:12 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 11 Nov 2007 06:01:34 +0000 (10 22:01 -0800)
tree85f0f54e9944d9138bb52fc30fc4074690940d34
parent5b98b1f7daf6d52ccc446486aca0b8bc9a588b2c
mac80211: make "decrypt failed" messages conditional upon MAC80211_DEBUG

Make "decrypt failed" and "have no key" debugging messages compile
conditionally upon CONFIG_MAC80211_DEBUG.  They have been useful for
finding certain problems in the past, but in many cases they just
clutter a user's logs.

A typical example is an enviornment where multiple SSIDs are using a
single BSSID but with different protection schemes or different keys
for each SSID.  In such an environment these messages are just noise.
Let's just leave them for those interested enough to turn-on debugging.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c
net/mac80211/wep.c
net/mac80211/wpa.c