developer | bd9fa1e | 2023-10-16 11:04:00 +0800 | [diff] [blame] | 1 | --- a/net/wireless/nl80211.c |
| 2 | +++ b/net/wireless/nl80211.c |
developer | a46f613 | 2024-03-26 14:09:54 +0800 | [diff] [blame] | 3 | @@ -16442,8 +16442,7 @@ static u32 nl80211_internal_flags[] = { |
developer | bd9fa1e | 2023-10-16 11:04:00 +0800 | [diff] [blame] | 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; |
developer | a46f613 | 2024-03-26 14:09:54 +0800 | [diff] [blame] | 13 | @@ -16544,8 +16543,7 @@ out_unlock: |
developer | bd9fa1e | 2023-10-16 11:04:00 +0800 | [diff] [blame] | 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]; |