mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
mac80211: add rtl8723bs for kernel 5.18 support for Ryan
This commit is contained in:
parent
beb34205ed
commit
86ea102156
@ -0,0 +1,14 @@
|
||||
--- a/drivers/staging/rtl8723bs/include/osdep_service_linux.h
|
||||
+++ a/drivers/staging/rtl8723bs/include/osdep_service_linux.h
|
||||
@@ -45,7 +45,11 @@
|
||||
spinlock_t lock;
|
||||
};
|
||||
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0))
|
||||
+ #define thread_exit() kthread_complete_and_exit(NULL, 0)
|
||||
+#else
|
||||
#define thread_exit() complete_and_exit(NULL, 0)
|
||||
+#endif
|
||||
|
||||
static inline struct list_head *get_next(struct list_head *list)
|
||||
{
|
Loading…
Reference in New Issue
Block a user