Fixes prior to 4.15

This commit is contained in:
Basel Sayeh
2022-05-06 00:09:21 +03:00
parent 89992bce4a
commit 1443319fe6
5 changed files with 19 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ extern void rtl871x_cedbg(const char *fmt, ...);
#define KERN_CONT
#define _seqdump(sel, fmt, arg...) _dbgdump(fmt, ##arg)
#elif defined PLATFORM_LINUX
#define _dbgdump printk
#define _dbgdump pr_debug
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24))
#define KERN_CONT
#endif
@@ -221,7 +221,7 @@ extern uint rtw_drv_log_level;
if (sel == RTW_DBGDUMP)\
RTW_PRINT(fmt, ##arg); \
else {\
_seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
_seqdump(sel, fmt, ##arg); \
} \
} while (0)
@@ -232,7 +232,7 @@ extern uint rtw_drv_log_level;
if (sel == RTW_DBGDUMP)\
_RTW_PRINT(fmt, ##arg); \
else {\
_seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
_seqdump(sel, fmt, ##arg); \
} \
} while (0)