]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:32 +0000 (15:07 -0800)
commit74e579764007b3ef63d791116c7d252e0032cc1e
tree9286dd15c3d663c06e4447415749d500d54947a4
parent3beb469074ec66079f3fcbed1c6cf06ca8bbc873
iwlwifi: mvm: don't allow sched scans without matches to be started

commit 5e56276e7555b34550d51459a801ff75eca8b907 upstream.

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

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/scan.c