rtl8812au-ac: fix build with recent mac80211 update
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
220a0983a5
commit
96087967b9
@ -105,7 +105,17 @@
|
||||
static int cfg80211_rtw_get_channel(struct wiphy *wiphy, struct wireless_dev *wdev, unsigned int link_id, struct cfg80211_chan_def *chandef){
|
||||
#else
|
||||
static int cfg80211_rtw_get_channel(struct wiphy *wiphy, struct wireless_dev *wdev, struct cfg80211_chan_def *chandef){
|
||||
@@ -7862,7 +7862,7 @@ static int cfg80211_rtw_tdls_mgmt(struct
|
||||
@@ -6303,6 +6303,9 @@ static int cfg80211_rtw_get_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
|
||||
@@ -7862,7 +7865,7 @@ static int cfg80211_rtw_tdls_mgmt(struct
|
||||
#else
|
||||
u8 *peer,
|
||||
#endif
|
||||
@ -114,7 +124,7 @@
|
||||
int link_id,
|
||||
#endif
|
||||
u8 action_code,
|
||||
@@ -10484,7 +10484,7 @@ void rtw_wdev_unregister(struct wireless
|
||||
@@ -10484,7 +10487,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…
Reference in New Issue
Block a user