mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-05-10 14:11:06 +02:00
Merge pull request #248 from plumdog/reinstate_del_station
Revert "Fixing Build error from unused variable warnings (#240)"
This commit is contained in:
commit
72594b5560
@ -4052,7 +4052,7 @@ exit:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*static int cfg80211_rtw_del_station(struct wiphy *wiphy, struct net_device *ndev,
|
static int cfg80211_rtw_del_station(struct wiphy *wiphy, struct net_device *ndev,
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
|
||||||
struct station_del_parameters *params)
|
struct station_del_parameters *params)
|
||||||
{
|
{
|
||||||
@ -4145,7 +4145,7 @@ exit:
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
static int cfg80211_rtw_change_station(struct wiphy *wiphy, struct net_device *ndev,
|
static int cfg80211_rtw_change_station(struct wiphy *wiphy, struct net_device *ndev,
|
||||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0))
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,16,0))
|
||||||
u8 *mac,
|
u8 *mac,
|
||||||
@ -5998,7 +5998,7 @@ static struct cfg80211_ops rtw_cfg80211_ops = {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
.add_station = cfg80211_rtw_add_station,
|
.add_station = cfg80211_rtw_add_station,
|
||||||
//.del_station = cfg80211_rtw_del_station,
|
.del_station = cfg80211_rtw_del_station,
|
||||||
.change_station = cfg80211_rtw_change_station,
|
.change_station = cfg80211_rtw_change_station,
|
||||||
.dump_station = cfg80211_rtw_dump_station,
|
.dump_station = cfg80211_rtw_dump_station,
|
||||||
.change_bss = cfg80211_rtw_change_bss,
|
.change_bss = cfg80211_rtw_change_bss,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user