diff options
Diffstat (limited to 'patches/0077-genl-ro-after-init/hwsim.patch')
-rw-r--r-- | patches/0077-genl-ro-after-init/hwsim.patch | 11 |
1 files changed, 11 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, |