blob: a1fae5e07da5614a8617f38aaece90f23705b637 [file] [log] [blame]
developerbd9fa1e2023-10-16 11:04:00 +08001--- a/net/wireless/nl80211.c
2+++ b/net/wireless/nl80211.c
3@@ -16400,8 +16400,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@@ -16502,8 +16501,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];