rtl8812au/0001-add-support-for-kernel-4.11.patch

27 lines
849 B
Diff
Raw Normal View History

From 060b103f388f3cb485cad96355e2335fec03bba9 Mon Sep 17 00:00:00 2001
From: Mauro Rossi <issor.oruam@gmail.com>
Date: Sat, 13 May 2017 23:47:35 +0200
Subject: [PATCH] rtl8812au: add support for kernel 4.11
kernel 4.11 requires to include <linux/sched/signal.h>
in include/osdep_service_linux.h
---
include/osdep_service_linux.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/osdep_service_linux.h b/include/osdep_service_linux.h
index 9aaf191..e875e63 100755
--- a/include/osdep_service_linux.h
+++ b/include/osdep_service_linux.h
@@ -117,6 +117,10 @@
#include <linux/netlink.h>
#endif //CONFIG_BT_COEXIST_SOCKET_TRX
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
+ #include <linux/sched/signal.h>
+#endif
+
#ifdef CONFIG_USB_HCI
typedef struct urb * PURB;
#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,22))