diff options
Diffstat (limited to 'patches/collateral-evolutions/network/0027-genl-const/nl80211.patch')
-rw-r--r-- | patches/collateral-evolutions/network/0027-genl-const/nl80211.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/patches/collateral-evolutions/network/0027-genl-const/nl80211.patch b/patches/collateral-evolutions/network/0027-genl-const/nl80211.patch deleted file mode 100644 index eb822b70..00000000 --- a/patches/collateral-evolutions/network/0027-genl-const/nl80211.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- a/net/wireless/nl80211.c -+++ b/net/wireless/nl80211.c -@@ -31,9 +31,9 @@ static int nl80211_crypto_settings(struc - struct cfg80211_crypto_settings *settings, - int cipher_limit); - --static int nl80211_pre_doit(const struct genl_ops *ops, struct sk_buff *skb, -+static int nl80211_pre_doit(__genl_const struct genl_ops *ops, struct sk_buff *skb, - struct genl_info *info); --static void nl80211_post_doit(const struct genl_ops *ops, struct sk_buff *skb, -+static void nl80211_post_doit(__genl_const struct genl_ops *ops, struct sk_buff *skb, - struct genl_info *info); - - /* the netlink family */ -@@ -58,7 +58,7 @@ enum nl80211_multicast_groups { - NL80211_MCGRP_TESTMODE /* keep last - ifdef! */ - }; - --static const struct genl_multicast_group nl80211_mcgrps[] = { -+static __genl_const struct genl_multicast_group nl80211_mcgrps[] = { - [NL80211_MCGRP_CONFIG] = { .name = NL80211_MULTICAST_GROUP_CONFIG }, - [NL80211_MCGRP_SCAN] = { .name = NL80211_MULTICAST_GROUP_SCAN }, - [NL80211_MCGRP_REGULATORY] = { .name = NL80211_MULTICAST_GROUP_REG }, -@@ -10168,7 +10168,7 @@ static int nl80211_tdls_cancel_channel_s - NL80211_FLAG_CHECK_NETDEV_UP) - #define NL80211_FLAG_CLEAR_SKB 0x20 - --static int nl80211_pre_doit(const struct genl_ops *ops, struct sk_buff *skb, -+static int nl80211_pre_doit(__genl_const struct genl_ops *ops, struct sk_buff *skb, - struct genl_info *info) - { - struct cfg80211_registered_device *rdev; -@@ -10237,7 +10237,7 @@ static int nl80211_pre_doit(const struct - return 0; - } - --static void nl80211_post_doit(const struct genl_ops *ops, struct sk_buff *skb, -+static void nl80211_post_doit(__genl_const struct genl_ops *ops, struct sk_buff *skb, - struct genl_info *info) - { - if (info->user_ptr[1]) { -@@ -10266,7 +10266,7 @@ static void nl80211_post_doit(const stru - } - } - --static const struct genl_ops nl80211_ops[] = { -+static __genl_const struct genl_ops nl80211_ops[] = { - { - .cmd = NL80211_CMD_GET_WIPHY, - .doit = nl80211_get_wiphy, |