mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-14 00:59:37 +00:00
rtl8188eu: Stop extraneous logging
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5b8f5bc69d
commit
4774c66a8c
2 changed files with 2 additions and 3 deletions
|
@ -348,7 +348,7 @@
|
||||||
*/
|
*/
|
||||||
#define DBG 1
|
#define DBG 1
|
||||||
|
|
||||||
#define CONFIG_DEBUG /* DBG_871X, etc... */
|
//#define CONFIG_DEBUG /* DBG_871X, etc... */
|
||||||
//#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
|
//#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
|
||||||
|
|
||||||
#define CONFIG_PROC_DEBUG
|
#define CONFIG_PROC_DEBUG
|
||||||
|
|
|
@ -171,12 +171,11 @@ extern void rtl871x_cedbg(const char *fmt, ...);
|
||||||
extern u32 GlobalDebugLevel;
|
extern u32 GlobalDebugLevel;
|
||||||
|
|
||||||
#define DRIVER_PREFIX "R8188EU: "
|
#define DRIVER_PREFIX "R8188EU: "
|
||||||
#define DEBUG_LEVEL (_drv_err_)
|
|
||||||
#if defined (_dbgdump)
|
#if defined (_dbgdump)
|
||||||
#undef DBG_871X_LEVEL
|
#undef DBG_871X_LEVEL
|
||||||
#define DBG_871X_LEVEL(level, fmt, arg...) \
|
#define DBG_871X_LEVEL(level, fmt, arg...) \
|
||||||
do {\
|
do {\
|
||||||
if (level <= DEBUG_LEVEL) {\
|
if (level <= GlobalDebugLevel) {\
|
||||||
if (level <= _drv_err_ && level > _drv_always_) \
|
if (level <= _drv_err_ && level > _drv_always_) \
|
||||||
_dbgdump(DRIVER_PREFIX"ERROR " fmt, ##arg);\
|
_dbgdump(DRIVER_PREFIX"ERROR " fmt, ##arg);\
|
||||||
else \
|
else \
|
||||||
|
|
Loading…
Reference in a new issue