[LIBERTAS] Set default debug level to include 'FATAL' messages.

David Woodhouse dwmw2 at infradead.org
Sun Nov 5 02:50:20 EST 2006


Commit:     c8fb22790d404c8787f166311f67aec07b60f4cd
Parent:     7b6af4b532ff0cd94f666db65121a83dd844e043
commit c8fb22790d404c8787f166311f67aec07b60f4cd
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Sun Nov 5 15:54:14 2006 +0800
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sun Nov 5 15:54:14 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