1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-29 08:27:41 +00:00

Add support for kernel v5.1

This commit is contained in:
Christian Bremvåg 2019-03-19 01:14:48 +01:00 committed by GitHub
parent a590cd2795
commit c7e464a7b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1992,6 +1992,10 @@ inline int ATOMIC_DEC_RETURN(ATOMIC_T *v)
*/ */
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0))
#define get_ds() (KERNEL_DS)
#endif
/* /*
* Test if the specifi @param path is a file and readable * Test if the specifi @param path is a file and readable
* @param path the path of the file to test * @param path the path of the file to test