mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
rtl8192eu: Fix code for kernel 5.17 API change
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
This commit is contained in:
@@ -315,7 +315,11 @@ static __inline void thread_enter(char *name)
|
||||
allow_signal(SIGTERM);
|
||||
#endif
|
||||
}
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0)
|
||||
void thread_exit(_completion *comp);
|
||||
#else
|
||||
void kthread_thread_exit(_completion *comp);
|
||||
#endif
|
||||
void _rtw_init_completion(_completion *comp);
|
||||
void _rtw_wait_for_comp_timeout(_completion *comp);
|
||||
void _rtw_wait_for_comp(_completion *comp);
|
||||
|
||||
Reference in New Issue
Block a user