rtl8188eu: Stop extraneous logging

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-02-08 14:56:05 -06:00
parent 5b8f5bc69d
commit 4774c66a8c
2 changed files with 2 additions and 3 deletions

View file

@ -348,7 +348,7 @@
*/
#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_PROC_DEBUG

View file

@ -171,12 +171,11 @@ extern void rtl871x_cedbg(const char *fmt, ...);
extern u32 GlobalDebugLevel;
#define DRIVER_PREFIX "R8188EU: "
#define DEBUG_LEVEL (_drv_err_)
#if defined (_dbgdump)
#undef DBG_871X_LEVEL
#define DBG_871X_LEVEL(level, fmt, arg...) \
do {\
if (level <= DEBUG_LEVEL) {\
if (level <= GlobalDebugLevel) {\
if (level <= _drv_err_ && level > _drv_always_) \
_dbgdump(DRIVER_PREFIX"ERROR " fmt, ##arg);\
else \