1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-10-19 09:01:10 +02:00

Fix build regression && fix build compat bugs (#217)

1. Fix build regression os_dep/linux/ioctl_cfg80211.c:3654:12: error: ‘struct net_device’ has no member named ‘destructor’; did you mean ‘priv_destructor’?
  mon_ndev->destructor = rtw_ndev_destructor;
2. Fix build compat with kernel >= 4.12.0
3. Fix various errors in ioctl_cfg80211.c
This commit is contained in:
Chen Minqiang
2017-07-10 05:19:52 +08:00
committed by Harshavardhana
parent cc07a9cfd5
commit 2c6399ff11
2 changed files with 38 additions and 8 deletions

View File

@@ -870,7 +870,7 @@ endif
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
#EXTRA_CFLAGS += -DCONFIG_P2P_IPS
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)