patches: refresh patches on v4.14-rc1
[openwrt/staging/blogic.git] / patches / 0077-genl-ro-after-init / nl80211.patch
1 --- a/net/wireless/nl80211.c
2 +++ b/net/wireless/nl80211.c
3 @@ -13247,7 +13247,7 @@ static const struct genl_ops nl80211_ops
4
5 };
6
7 -static struct genl_family nl80211_fam __ro_after_init = {
8 +static struct genl_family nl80211_fam __genl_ro_after_init = {
9 .name = NL80211_GENL_NAME, /* have users key off the name instead */
10 .hdrsize = 0, /* no private header */
11 .version = 1, /* no particular meaning now */