1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-24 14:19:39 +00:00

Merge pull request #1134 from crivasr/v5.6.4.2

Fix change_beacon for kernel 6.7
This commit is contained in:
Christian Bremvåg 2024-03-15 23:59:04 +01:00 committed by GitHub
commit 98895e9f2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5283,9 +5283,16 @@ exit:
return ret;
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0))
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
struct cfg80211_ap_update *params)
{
struct cfg80211_beacon_data *info = &params->beacon;
#else
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
struct cfg80211_beacon_data *info)
{
#endif
int ret = 0;
_adapter *adapter = (_adapter *)rtw_netdev_priv(ndev);