]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: mvm: fix the net-detect SSIDs report order
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 6 May 2015 07:45:42 +0000 (10:45 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 May 2015 10:35:18 +0000 (13:35 +0300)
commitae90c2e5784b465d903106d833afab4f3e139d80
treee11d46316707c4ced2271e3370aa5e7db79a0464
parentee9219b2c268b228c0494c98259401e665457b87
iwlwifi: mvm: fix the net-detect SSIDs report order

After the scan refactor, the order of the SSIDs passed to the firmware
in all scans (including net-detect) are inverted.  This was causing
the reporting code to use the wrong SSIDs.  To fix this, invert the
array index when accessing the saved match SSIDs to report the
wake-up.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c