From d1c55e0858ae1230ada225da45f192745be8bb57 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 16 Feb 2019 00:13:16 +0100 Subject: [PATCH] Fix CONFIG_CONCURRENT_MODE building. Missing VIF code. --- Makefile | 1 + os_dep/linux/ioctl_cfg80211.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Makefile b/Makefile index fac1481..b1e7d80 100755 --- a/Makefile +++ b/Makefile @@ -40,6 +40,7 @@ CONFIG_RTL8814A = y ######################### Interface ########################### CONFIG_USB_HCI = y ########################## Features ########################### +CONFIG_NET_NS = y CONFIG_MP_INCLUDED = y CONFIG_POWER_SAVING = n CONFIG_USB_AUTOSUSPEND = n diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index 6c81283..cf0d082 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -2290,6 +2290,11 @@ enum nl80211_iftype { NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1 }; #endif + +#ifdef CONFIG_CONCURRENT_MODE +extern int netdev_if2_open(struct net_device *pnetdev); +#endif + static int cfg80211_rtw_change_iface(struct wiphy *wiphy, struct net_device *ndev, enum nl80211_iftype type,