mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 12:46:53 +00:00
RTL8192CU: linux 4.8 fix
This commit is contained in:
parent
5661f325d4
commit
6465b95445
@ -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: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;
|
Loading…
x
Reference in New Issue
Block a user