Merge pull request #45 from Jookia/fix-kernel67

Fix version check for change_beacon it should be 6.7
This commit is contained in:
lwfinger 2023-11-14 15:34:33 -06:00 committed by GitHub
commit 52e593e8c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4188,7 +4188,7 @@ static int cfg80211_rtw_start_ap(struct wiphy *wiphy, struct net_device *ndev,
return ret; return ret;
} }
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0)) #if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0))
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev, static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
struct cfg80211_ap_update *params) struct cfg80211_ap_update *params)
{ {