]> git.openpandora.org Git - pandora-wifi.git/commitdiff
Separate REPORT_LOG from DEBUG
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 24 Jan 2009 23:02:39 +0000 (01:02 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 24 Jan 2009 23:02:39 +0000 (01:02 +0200)
Currently driver just won't work if compiled without REPORT_LOG.

sta_dk_4_0_4_32/common.inc
sta_dk_4_0_4_32/common/src/TNETW_Driver/Ctrl/Cmd_Queue/CmdQueue.c

index 561c21c2cb569af1d475a69da9f24aac85abf7fa..17e8ec5f7a6a679e218611d891e321f27219aa7f 100644 (file)
@@ -97,10 +97,8 @@ endif
 
 ifeq ($(DEBUG),y)
     DK_DEFINES += -D TI_DBG
-    DK_DEFINES += -D REPORT_LOG
-else
-    DK_DEFINES += -U REPORT_LOG
 endif
+DK_DEFINES += -D REPORT_LOG
 
 DK_DEFINES += -D __BYTE_ORDER_LITTLE_ENDIAN
 DK_DEFINES += -D CONFIGURE_BSS_TYPE_STA
index 3d751e9a3bc193ed5a73f7822748b196c6615747..a6ac1e9f744a1f9096d112a1aad8b9a62993d882 100644 (file)
@@ -40,7 +40,7 @@
 #include "CmdQueue_api.h"
 #include "CmdQueue.h"
 
-#ifdef TI_DBG
+#ifdef REPORT_LOG
 static char *StateString[CMDQUEUE_STATE_NUM] = {
        "CMDQUEUE_STATE_IDLE",  /* 0 */
        "CMDQUEUE_STATE_SEND_CMD_v",  /* 1 */