Skip to content

Commit

Permalink
Merge pull request #105 from Jookia/kernel65
Browse files Browse the repository at this point in the history
Fix cfg80211_rtw_change_beacon on kernel 6.7
  • Loading branch information
CGarces authored Jan 21, 2024
2 parents 0599669 + 36b5bee commit fb0d92a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions os_dep/linux/ioctl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -5148,9 +5148,16 @@ static int cfg80211_rtw_start_ap(struct wiphy *wiphy, struct net_device *ndev,
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);

Expand Down

0 comments on commit fb0d92a

Please sign in to comment.