mirror of
https://github.com/gnab/rtl8812au
synced 2024-10-18 04:52:02 +00:00
Fixed to work with kernel versions 5.0.x
This commit is contained in:
parent
f7c1f84da6
commit
c5f3d21507
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME=8812au
|
PACKAGE_NAME=8812au
|
||||||
PACKAGE_VERSION=4.2.2
|
PACKAGE_VERSION=4.2.3
|
||||||
|
|
||||||
DEST_MODULE_LOCATION=/kernel/drivers/net/wireless
|
DEST_MODULE_LOCATION=/kernel/drivers/net/wireless
|
||||||
BUILT_MODULE_NAME=8812au
|
BUILT_MODULE_NAME=8812au
|
||||||
|
@ -1 +1 @@
|
|||||||
#define DRIVERVERSION "v4.2.2_7502.20130517"
|
#define DRIVERVERSION "v4.2.3"
|
||||||
|
0
install.sh
Normal file → Executable file
0
install.sh
Normal file → Executable file
@ -352,7 +352,11 @@ int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd)
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!access_ok(VERIFY_READ, priv_cmd.buf, priv_cmd.total_len)){
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0))
|
||||||
|
if (!access_ok(VERIFY_READ, priv_cmd.buf, priv_cmd.total_len)){
|
||||||
|
#else
|
||||||
|
if (!access_ok(priv_cmd.buf, priv_cmd.total_len)){
|
||||||
|
#endif
|
||||||
DBG_871X("%s: failed to access memory\n", __FUNCTION__);
|
DBG_871X("%s: failed to access memory\n", __FUNCTION__);
|
||||||
ret = -EFAULT;
|
ret = -EFAULT;
|
||||||
goto exit;
|
goto exit;
|
||||||
|
4
runwpa
4
runwpa
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "`which iwconfig`" = "" ] ; then
|
if [ "`which iwconfig`" = "" ] ; then
|
||||||
echo "WARNING:Wireless tool not exist!"
|
echo "WARNING:Wireless tool (iwconfig) not exist!"
|
||||||
echo " Please install it!"
|
echo " Please install it!"
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
@ -16,5 +16,3 @@ else
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user