rtl8188eu: fix build with recent mac80211 update
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
96087967b9
commit
18b94111a0
@ -158,7 +158,17 @@
|
||||
static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev, unsigned int link_id)
|
||||
#else
|
||||
static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev)
|
||||
@@ -9670,7 +9686,7 @@ void rtw_wdev_unregister(struct wireless
|
||||
@@ -5650,6 +5666,9 @@ static int cfg80211_rtw_set_channel(stru
|
||||
}
|
||||
|
||||
static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
|
||||
+#ifdef BUILD_OPENWRT
|
||||
+ , struct net_device *dev
|
||||
+#endif
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
|
||||
, struct cfg80211_chan_def *chandef
|
||||
#else
|
||||
@@ -9670,7 +9689,7 @@ void rtw_wdev_unregister(struct wireless
|
||||
rtw_cfg80211_indicate_scan_done(adapter, _TRUE);
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)) || defined(COMPAT_KERNEL_RELEASE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user