diff options
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 69d4c3179d04..7d132b154f19 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -451,7 +451,7 @@ static struct genl_family hwsim_genl_family = { | |||
451 | 451 | ||
452 | /* MAC80211_HWSIM netlink policy */ | 452 | /* MAC80211_HWSIM netlink policy */ |
453 | 453 | ||
454 | static struct nla_policy hwsim_genl_policy[HWSIM_ATTR_MAX + 1] = { | 454 | static const struct nla_policy hwsim_genl_policy[HWSIM_ATTR_MAX + 1] = { |
455 | [HWSIM_ATTR_ADDR_RECEIVER] = { .type = NLA_UNSPEC, .len = ETH_ALEN }, | 455 | [HWSIM_ATTR_ADDR_RECEIVER] = { .type = NLA_UNSPEC, .len = ETH_ALEN }, |
456 | [HWSIM_ATTR_ADDR_TRANSMITTER] = { .type = NLA_UNSPEC, .len = ETH_ALEN }, | 456 | [HWSIM_ATTR_ADDR_TRANSMITTER] = { .type = NLA_UNSPEC, .len = ETH_ALEN }, |
457 | [HWSIM_ATTR_FRAME] = { .type = NLA_BINARY, | 457 | [HWSIM_ATTR_FRAME] = { .type = NLA_BINARY, |