diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/0077-genl-ro-after-init/hwsim.patch | 11 | ||||
-rw-r--r-- | patches/0077-genl-ro-after-init/nl80211.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/patches/0077-genl-ro-after-init/hwsim.patch b/patches/0077-genl-ro-after-init/hwsim.patch new file mode 100644 index 00000000..5599069a --- /dev/null +++ b/patches/0077-genl-ro-after-init/hwsim.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/wireless/mac80211_hwsim.c ++++ b/drivers/net/wireless/mac80211_hwsim.c +@@ -3244,7 +3244,7 @@ static const struct genl_ops hwsim_ops[] = { + }, + }; + +-static struct genl_family hwsim_genl_family __ro_after_init = { ++static struct genl_family hwsim_genl_family __genl_ro_after_init = { + .name = "MAC80211_HWSIM", + .version = 1, + .maxattr = HWSIM_ATTR_MAX, diff --git a/patches/0077-genl-ro-after-init/nl80211.patch b/patches/0077-genl-ro-after-init/nl80211.patch new file mode 100644 index 00000000..bd50213b --- /dev/null +++ b/patches/0077-genl-ro-after-init/nl80211.patch @@ -0,0 +1,11 @@ +--- a/net/wireless/nl80211.c ++++ b/net/wireless/nl80211.c +@@ -12823,7 +12823,7 @@ static const struct genl_ops nl80211_ops[] = { + }, + }; + +-static struct genl_family nl80211_fam __ro_after_init = { ++static struct genl_family nl80211_fam __genl_ro_after_init = { + .name = NL80211_GENL_NAME, /* have users key off the name instead */ + .hdrsize = 0, /* no private header */ + .version = 1, /* no particular meaning now */ |