diff --git a/packages/linux-drivers/RTL8192EU/patches/RTL8192EU-kernel-4.8.patch b/packages/linux-drivers/RTL8192EU/patches/RTL8192EU-kernel-4.8.patch new file mode 100644 index 0000000000..5de2869002 --- /dev/null +++ b/packages/linux-drivers/RTL8192EU/patches/RTL8192EU-kernel-4.8.patch @@ -0,0 +1,18 @@ +diff -Naur a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c +--- a/os_dep/linux/ioctl_cfg80211.c 2016-09-11 01:54:30.184844740 +0100 ++++ b/os_dep/linux/ioctl_cfg80211.c 2016-09-11 01:55:58.426842518 +0100 +@@ -1891,7 +1891,14 @@ + } + else + { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,8,0) ++ struct cfg80211_scan_info info = { ++ .aborted = aborted ++ }; ++ cfg80211_scan_done(pwdev_priv->scan_request, &info); ++#else + cfg80211_scan_done(pwdev_priv->scan_request, aborted); ++#endif + } + + pwdev_priv->scan_request = NULL;