Update os_intfs.c for kernel 6.8

pull/1145/head
alium 2024-03-12 07:11:35 +01:00 committed by GitHub
parent a3e0c0b6d5
commit d3feb6ae93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@
#include <drv_types.h>
#include <hal_data.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0))
#define strlcpy strscpy
#endif
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
MODULE_AUTHOR("Realtek Semiconductor Corp.");