]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nl80211: fix validation of scheduled scan info for wowlan netdetect
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Fri, 27 Jan 2017 12:27:44 +0000 (12:27 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 8 Feb 2017 09:09:23 +0000 (10:09 +0100)
commitaad1e812eee31a0e075709c247577b0328a6deab
tree9a2f13a65ff8d1f480fb3fc7b5dbb05ffd754912
parent66cd794e3c30b8af3b6befe42a378557efb3114a
nl80211: fix validation of scheduled scan info for wowlan netdetect

For wowlan netdetect a separate limit is defined for the number of
matchsets. Currently, this limit is ignored and the regular limit
for scheduled scan matchsets, ie. struct wiphy::max_match_sets, is
used for the net-detect case as well.

Cc: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c