RTL8192DU: update to RTL8192DU-7498302, this fixes #4187

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2015-06-11 10:00:23 +02:00
parent 6139afdee9
commit fa9f3c2869
2 changed files with 1 additions and 17 deletions

View File

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

View File

@ -1,16 +0,0 @@
diff -Naur RTL8192DU-085e206/os_dep/rtw_android.c RTL8192DU-085e206.patch/os_dep/rtw_android.c
--- RTL8192DU-085e206/os_dep/rtw_android.c 2014-03-25 15:48:57.000000000 +0100
+++ RTL8192DU-085e206.patch/os_dep/rtw_android.c 2015-04-04 20:23:03.589408056 +0200
@@ -219,7 +219,11 @@
{
int cmd_num;
for (cmd_num=0 ; cmd_num<ANDROID_WIFI_CMD_MAX; cmd_num++)
- if (0 == strnicmp(cmdstr , android_wifi_cmd_str[cmd_num], strlen(android_wifi_cmd_str[cmd_num])))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0))
+ if (!strncasecmp(cmdstr , android_wifi_cmd_str[cmd_num], strlen(android_wifi_cmd_str[cmd_num])))
+#else
+ if (0 == strnicmp(cmdstr , android_wifi_cmd_str[cmd_num], strlen(android_wifi_cmd_str[cmd_num])))
+#endif
break;
return cmd_num;