diff options
author | Sosthène Guédon <sosthene@guedon.gdn> | 2021-06-03 19:39:39 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2021-06-23 12:37:09 +0200 |
commit | aeddc05fa9cff35402fc569cc6e7fca6ee36bac1 (patch) | |
tree | 3e80e597a33a5f456485492f02635b5b92b14f69 | |
parent | ab4040df6efb87f92c7ec5bd65b5a093654d6a85 (diff) | |
download | linux-stable-aeddc05fa9cff35402fc569cc6e7fca6ee36bac1.tar.gz linux-stable-aeddc05fa9cff35402fc569cc6e7fca6ee36bac1.tar.bz2 linux-stable-aeddc05fa9cff35402fc569cc6e7fca6ee36bac1.zip |
nl80211: Fix typo pmsr->pmsr
This was mis-spelled in the policy, fix that.
Signed-off-by: Sosthène Guédon <sosthene@guedon.gdn>
Link: https://lore.kernel.org/r/YLkT27RG0DaWLUot@arch.localdomain
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | net/wireless/nl80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index c62d61d8aa02..4c61cf66fe05 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -330,7 +330,7 @@ nl80211_pmsr_req_attr_policy[NL80211_PMSR_REQ_ATTR_MAX + 1] = { }; static const struct nla_policy -nl80211_psmr_peer_attr_policy[NL80211_PMSR_PEER_ATTR_MAX + 1] = { +nl80211_pmsr_peer_attr_policy[NL80211_PMSR_PEER_ATTR_MAX + 1] = { [NL80211_PMSR_PEER_ATTR_ADDR] = NLA_POLICY_ETH_ADDR, [NL80211_PMSR_PEER_ATTR_CHAN] = NLA_POLICY_NESTED(nl80211_policy), [NL80211_PMSR_PEER_ATTR_REQ] = @@ -345,7 +345,7 @@ nl80211_pmsr_attr_policy[NL80211_PMSR_ATTR_MAX + 1] = { [NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR] = { .type = NLA_REJECT }, [NL80211_PMSR_ATTR_TYPE_CAPA] = { .type = NLA_REJECT }, [NL80211_PMSR_ATTR_PEERS] = - NLA_POLICY_NESTED_ARRAY(nl80211_psmr_peer_attr_policy), + NLA_POLICY_NESTED_ARRAY(nl80211_pmsr_peer_attr_policy), }; static const struct nla_policy |