mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-30 00:47:38 +00:00
Odroid C2 fix + minor cleanup
This commit is contained in:
parent
a8cd963ea5
commit
d628a7441c
2
Makefile
2
Makefile
@ -1068,7 +1068,7 @@ EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
|||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/aarch64/arm64/ )
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
KVER ?= $(shell uname -r)
|
KVER ?= $(shell uname -r)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
PACKAGE_NAME="realtek-rtl88xxau"
|
PACKAGE_NAME="realtek-rtl88xxau"
|
||||||
PACKAGE_VERSION="5.1.5~20180506"
|
PACKAGE_VERSION="5.1.5~20180513"
|
||||||
CLEAN="make clean"
|
CLEAN="make clean"
|
||||||
BUILT_MODULE_NAME[0]=8812au
|
BUILT_MODULE_NAME[0]=8812au
|
||||||
DEST_MODULE_LOCATION[0]="/updates"
|
DEST_MODULE_LOCATION[0]="/updates"
|
||||||
|
@ -921,7 +921,7 @@ static int rtw_cfg80211_ap_set_encryption(struct net_device *dev, struct ieee_pa
|
|||||||
param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) {
|
param->sta_addr[4] == 0xff && param->sta_addr[5] == 0xff) {
|
||||||
if (param->u.crypt.idx >= WEP_KEYS
|
if (param->u.crypt.idx >= WEP_KEYS
|
||||||
#ifdef CONFIG_IEEE80211W
|
#ifdef CONFIG_IEEE80211W
|
||||||
&& param->u.crypt.idx >= BIP_MAX_KEYID
|
|| param->u.crypt.idx >= BIP_MAX_KEYID
|
||||||
#endif /* CONFIG_IEEE80211W */
|
#endif /* CONFIG_IEEE80211W */
|
||||||
) {
|
) {
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
@ -1629,14 +1629,6 @@ static int cfg80211_rtw_set_default_key(struct wiphy *wiphy,
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy,
|
|
||||||
struct net_device *ndev, u8 key_index
|
|
||||||
)
|
|
||||||
{
|
|
||||||
RTW_INFO(FUNC_NDEV_FMT " key index: %d\n", FUNC_NDEV_ARG(ndev), key_index);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(CONFIG_GTK_OL) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0))
|
#if defined(CONFIG_GTK_OL) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0))
|
||||||
static int cfg80211_rtw_set_rekey_data(struct wiphy *wiphy,
|
static int cfg80211_rtw_set_rekey_data(struct wiphy *wiphy,
|
||||||
struct net_device *ndev,
|
struct net_device *ndev,
|
||||||
@ -6567,9 +6559,6 @@ static struct cfg80211_ops rtw_cfg80211_ops = {
|
|||||||
.get_key = cfg80211_rtw_get_key,
|
.get_key = cfg80211_rtw_get_key,
|
||||||
.del_key = cfg80211_rtw_del_key,
|
.del_key = cfg80211_rtw_del_key,
|
||||||
.set_default_key = cfg80211_rtw_set_default_key,
|
.set_default_key = cfg80211_rtw_set_default_key,
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30))
|
|
||||||
.set_default_mgmt_key = cfg80211_rtw_set_default_mgmt_key,
|
|
||||||
#endif
|
|
||||||
#if defined(CONFIG_GTK_OL) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0))
|
#if defined(CONFIG_GTK_OL) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 1, 0))
|
||||||
.set_rekey_data = cfg80211_rtw_set_rekey_data,
|
.set_rekey_data = cfg80211_rtw_set_rekey_data,
|
||||||
#endif /*CONFIG_GTK_OL*/
|
#endif /*CONFIG_GTK_OL*/
|
||||||
|
Loading…
Reference in New Issue
Block a user