]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: fix NL80211_ATTR_FTM_RESPONDER policy
authorJohannes Berg <johannes.berg@intel.com>
Sat, 11 Apr 2020 22:40:30 +0000 (00:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Apr 2020 10:28:48 +0000 (12:28 +0200)
commit27b8daa68511c7e820668a0261e61d5c7ccc8c1d
treeb5263d6e9cea3dfa4d29193631c05b5ca776a698
parentc546bd5419e9903eae6f569585fe0da58822e3a0
nl80211: fix NL80211_ATTR_FTM_RESPONDER policy

The nested policy here should be established using the
NLA_POLICY_NESTED() macro so the length is properly
filled in.

Cc: stable@vger.kernel.org
Fixes: 3e8205f08d48 ("cfg80211: support FTM responder configuration/statistics")
Link: https://lore.kernel.org/r/20200412004029.9d0722bb56c8.Ie690bfcc4a1a61ff8d8ca7e475d59fcaa52fb2da@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c