mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2025-01-03 21:04:05 +00:00
Added kernel v5.1+ support (get_ds -> KERNEL_DS)
This commit is contained in:
parent
472b8b3176
commit
df6381f35d
@ -27,6 +27,10 @@ atomic_t _malloc_size = ATOMIC_INIT(0);
|
||||
#endif
|
||||
#endif /* DBG_MEMORY_LEAK */
|
||||
|
||||
/* This is to fix get_ds() type mismatch on kernels above 5.1.x */
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0))
|
||||
#define get_ds() KERNEL_DS
|
||||
#endif
|
||||
|
||||
#if defined(PLATFORM_LINUX)
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user