210-revert-split-op.patch 736 B

12345678910111213141516171819202122
  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. -static int nl80211_pre_doit(const struct genl_split_ops *ops,
  7. - struct sk_buff *skb,
  8. +static int nl80211_pre_doit(const struct genl_ops *ops, struct sk_buff *skb,
  9. struct genl_info *info)
  10. {
  11. struct cfg80211_registered_device *rdev = NULL;
  12. @@ -16544,8 +16543,7 @@ out_unlock:
  13. return err;
  14. }
  15. -static void nl80211_post_doit(const struct genl_split_ops *ops,
  16. - struct sk_buff *skb,
  17. +static void nl80211_post_doit(const struct genl_ops *ops, struct sk_buff *skb,
  18. struct genl_info *info)
  19. {
  20. u32 internal_flags = nl80211_internal_flags[ops->internal_flags];