]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Do not set sched_scan filter if driver does not support it
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 25 Nov 2011 15:46:00 +0000 (17:46 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 25 Nov 2011 15:46:00 +0000 (17:46 +0200)
commitfb67eec6f8280ecfaed88938389d352fddaf3494
treef049f9bec8346aefc83b1a52d4f838ae163c5d1c
parent29f338af2692e6801fc93fa692c327b3d5c8d2c6
nl80211: Do not set sched_scan filter if driver does not support it

cfg80211 will reject the NL80211_CMD_START_SCHED_SCAN if too many
match sets are requested. To avoid being completely unable to start
any scheduled scans, skip setting these filters if the driver did
not advertise support for large enough number of match sets.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211.c