]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mac80211: clean up debugging
authorJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jun 2012 09:29:50 +0000 (11:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sun, 24 Jun 2012 09:32:29 +0000 (11:32 +0200)
commitbdcbd8e0e3ffdad32b14b6373e67bfcf5fd3f002
treeb636f2229570dc95edef997272bd0656cf19224d
parentd3b2fb53c7f82903880769d406c11c7e619b11a4
mac80211: clean up debugging

There are a few things that make the logging and
debugging in mac80211 less useful than it should
be right now:
 * a lot of messages should be pr_info, not pr_debug
 * wholesale use of pr_debug makes it require *both*
   Kconfig and dynamic configuration
 * there are still a lot of ifdefs
 * the style is very inconsistent, sometimes the
   sdata->name is printed in front

Clean up everything, introducing new macros and
separating out the station MLME debugging into
a new Kconfig symbol.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
23 files changed:
include/net/mac80211.h
net/mac80211/Kconfig
net/mac80211/Makefile
net/mac80211/agg-rx.c
net/mac80211/agg-tx.c
net/mac80211/cfg.c
net/mac80211/debug.h [new file with mode: 0644]
net/mac80211/debugfs_netdev.c
net/mac80211/ht.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/key.c
net/mac80211/mesh.c
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_pathtbl.c
net/mac80211/mesh_plink.c
net/mac80211/mesh_sync.c
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/sta_info.c
net/mac80211/status.c
net/mac80211/tx.c