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