1 --- a/net/wireless/nl80211.c
2 +++ b/net/wireless/nl80211.c
3 @@ -16442,8 +16442,14 @@ static u32 nl80211_internal_flags[] = {
7 +#if LINUX_VERSION_IS_LESS(6,2,0)
8 static int nl80211_pre_doit(const struct genl_ops *ops, struct sk_buff *skb,
9 struct genl_info *info)
11 +static int nl80211_pre_doit(const struct genl_split_ops *ops,
12 + struct sk_buff *skb,
13 + struct genl_info *info)
16 struct cfg80211_registered_device *rdev = NULL;
17 struct wireless_dev *wdev = NULL;
18 @@ -16543,8 +16549,14 @@ out_unlock:
22 +#if LINUX_VERSION_IS_LESS(6,2,0)
23 static void nl80211_post_doit(const struct genl_ops *ops, struct sk_buff *skb,
24 struct genl_info *info)
26 +static void nl80211_post_doit(const struct genl_split_ops *ops,
27 + struct sk_buff *skb,
28 + struct genl_info *info)
31 u32 internal_flags = nl80211_internal_flags[ops->internal_flags];