nl80211: add missing attribute validation for beacon report scanning
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2020 05:10:57 +0000 (21:10 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 06:14:23 +0000 (07:14 +0100)
commit4fe88c83221d5350b997e719e61afd682eddff89
treedb0a0200db4c0392ec3c597692536bbf29de8558
parent7ff441815924ea9df3b2947bf520899e8671c4ce
nl80211: add missing attribute validation for beacon report scanning

commit 056e9375e1f3c4bf2fd49b70258c7daf788ecd9d upstream.

Add missing attribute validation for beacon report scanning
to the netlink policy.

Fixes: 1d76250bd34a ("nl80211: support beacon report scanning")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20200303051058.4089398-3-kuba@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/nl80211.c