[LIBERTAS] Set default debug level to include 'FATAL' messages.
David Woodhouse
dwmw2 at infradead.org
Tue Nov 7 22:34:03 EST 2006
Commit: af419a6e554427d81f9489ec0d4b1d8d0d5a1086
Parent: 60de12bf393ad370282413115346a2ab263bf7b3
commit af419a6e554427d81f9489ec0d4b1d8d0d5a1086
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Sun Nov 5 15:54:14 2006 +0800
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Mon Nov 6 22:23:29 2006 +0800
[LIBERTAS] Set default debug level to include 'FATAL' messages.
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/net/wireless/libertas/Makefile | 3 ++-
drivers/net/wireless/libertas/wlan_defs.h | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/libertas/Makefile b/drivers/net/wireless/libertas/Makefile
index e3dc0c3..05d2a05 100644
--- a/drivers/net/wireless/libertas/Makefile
+++ b/drivers/net/wireless/libertas/Makefile
@@ -7,8 +7,9 @@ usb8xxx-objs := wlan_main.o wlan_fw.o wl
wlan_ioctl.o wlan_debugfs.o \
wlan_ethtool.o
+EXTRA_CFLAGS += -DDEBUG_LEVEL2
ifeq ($(CONFIG_LIBERTAS_USB_DEBUG), y)
-EXTRA_CFLAGS = -DDEBUG_LEVEL4 -DPROC_DEBUG
+EXTRA_CFLAGS += -DDEBUG_LEVEL4 -DPROC_DEBUG
endif
diff --git a/drivers/net/wireless/libertas/wlan_defs.h b/drivers/net/wireless/libertas/wlan_defs.h
index 1ec58fa..1f9537c 100644
--- a/drivers/net/wireless/libertas/wlan_defs.h
+++ b/drivers/net/wireless/libertas/wlan_defs.h
@@ -115,7 +115,7 @@ #define PRINTM_WARN(msg...)
#endif
#ifdef DEBUG_LEVEL2
-#define PRINTM_FATAL(msg...) printk(KERN_DEBUG msg)
+#define PRINTM_FATAL(msg...) printk(KERN_INFO msg)
#ifndef DEBUG_LEVEL1
#define DEBUG_LEVEL1
#endif
More information about the Commits-kernel
mailing list