RTL8192DU: update to RTL8192DU-9e7eb15

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-03-15 15:28:15 +01:00 committed by Lukas Rusak
parent d8deab9b6b
commit 715d7a2c2c
2 changed files with 1 additions and 31 deletions

View File

@ -17,7 +17,7 @@
################################################################################
PKG_NAME="RTL8192DU"
PKG_VERSION="7498302"
PKG_VERSION="9e7eb15"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -1,30 +0,0 @@
From 9e7eb15c74779150e7cc7229a06335a579366f2a Mon Sep 17 00:00:00 2001
From: Larry Finger <Larry.Finger@lwfinger.net>
Date: Mon, 28 Sep 2015 19:55:49 -0500
Subject: [PATCH] rtl8192du: Fix build on kernel 4.2
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
---
os_dep/ioctl_cfg80211.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/os_dep/ioctl_cfg80211.c b/os_dep/ioctl_cfg80211.c
index a2bc7ed..7054e3a 100644
--- a/os_dep/ioctl_cfg80211.c
+++ b/os_dep/ioctl_cfg80211.c
@@ -491,8 +491,13 @@ void rtw_cfg80211_indicate_disconnect(struct rtw_adapter *padapter)
WLAN_STATUS_UNSPECIFIED_FAILURE,
GFP_ATOMIC/*GFP_KERNEL*/);
} else {
- cfg80211_disconnected(padapter->pnetdev, 0, NULL,
- 0, GFP_ATOMIC);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
+ cfg80211_disconnected(padapter->pnetdev, 0,
+ NULL, 0, true, GFP_ATOMIC);
+#else
+ cfg80211_disconnected(padapter->pnetdev, 0, NULL, 0,
+ GFP_ATOMIC);
+#endif
}
}
}