RTL8192CU: update to RTL8192CU-76b54cd

This commit is contained in:
MilhouseVH 2017-05-12 21:53:50 +01:00
parent fcaeb59c85
commit 9f2aecc347
2 changed files with 1 additions and 19 deletions

View File

@ -17,7 +17,7 @@
################################################################################ ################################################################################
PKG_NAME="RTL8192CU" PKG_NAME="RTL8192CU"
PKG_VERSION="372d4b0" PKG_VERSION="76b54cd"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="https://github.com/pvaret/rtl8192cu-fixes" PKG_SITE="https://github.com/pvaret/rtl8192cu-fixes"

View File

@ -1,18 +0,0 @@
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:43:17.669610692 +0100
+++ b/os_dep/linux/ioctl_cfg80211.c 2016-09-11 01:45:09.268139751 +0100
@@ -1789,7 +1789,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;