]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't allow sched scans without matches to be started
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 2 Feb 2016 13:11:15 +0000 (15:11 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 15 Feb 2016 06:49:10 +0000 (08:49 +0200)
commite3e65f6b417315d8b40f638de6e372971194d6af
treef9b8c1d14fb4d93bd19344227f4ba8d90d5cab1b
parentdacdfb34ed1219dbaeb59e1170d431fd896c1acd
iwlwifi: mvm: don't allow sched scans without matches to be started

The firmware can perform a scheduled scan with not matchsets passed,
but it can't send notification that results were found.  Since the
userspace then cannot know when we got new results and the firmware
wouldn't trigger a wake in case we are sleeping, it's better not to
allow scans without matchsets.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=110831

Cc: <stable@vger.kernel.org> [3.17+]
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c