diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2010-07-06 21:05:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-08 12:23:28 -0700 |
commit | 84ec08640786592a045b783fb28b542415521bf9 (patch) | |
tree | d19efb9050ab38c4c24239855acc1cb875e7c21d /drivers/staging/batman-adv/main.c | |
parent | e75fece2b893c0064b1c79136a60f30326c28eb3 (diff) | |
download | op-kernel-dev-84ec08640786592a045b783fb28b542415521bf9.zip op-kernel-dev-84ec08640786592a045b783fb28b542415521bf9.tar.gz |
Staging: batman-adv: add routing debug log accessible via debugfs
All routing debug messages are saved in a ring buffer that can be
read via the debugfs file "log".
Note that CONFIG_BATMAN_ADV_DEBUG must be activated to have the
debug logs compiled in.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/batman-adv/main.c')
-rw-r--r-- | drivers/staging/batman-adv/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/batman-adv/main.c b/drivers/staging/batman-adv/main.c index d7e2960..5477d42 100644 --- a/drivers/staging/batman-adv/main.c +++ b/drivers/staging/batman-adv/main.c @@ -59,17 +59,6 @@ static struct packet_type batman_adv_packet_type __read_mostly = { struct workqueue_struct *bat_event_workqueue; -#ifdef CONFIG_BATMAN_ADV_DEBUG -int debug; - -module_param(debug, int, 0644); - -int bat_debug_type(int type) -{ - return debug & type; -} -#endif - int init_module(void) { int retval; |