mac80211: update to 6.6.15
[openwrt/staging/jow.git] / package / kernel / mac80211 / patches / build / 210-revert-split-op.patch
1 --- a/net/wireless/nl80211.c
2 +++ b/net/wireless/nl80211.c
3 @@ -16442,8 +16442,7 @@ static u32 nl80211_internal_flags[] = {
4 #undef SELECTOR
5 };
6
7 -static int nl80211_pre_doit(const struct genl_split_ops *ops,
8 - struct sk_buff *skb,
9 +static int nl80211_pre_doit(const struct genl_ops *ops, struct sk_buff *skb,
10 struct genl_info *info)
11 {
12 struct cfg80211_registered_device *rdev = NULL;
13 @@ -16544,8 +16543,7 @@ out_unlock:
14 return err;
15 }
16
17 -static void nl80211_post_doit(const struct genl_split_ops *ops,
18 - struct sk_buff *skb,
19 +static void nl80211_post_doit(const struct genl_ops *ops, struct sk_buff *skb,
20 struct genl_info *info)
21 {
22 u32 internal_flags = nl80211_internal_flags[ops->internal_flags];