From: Luciano Coelho Date: Wed, 6 May 2015 07:45:42 +0000 (+0300) Subject: iwlwifi: mvm: fix the net-detect SSIDs report order X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~139^2^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae90c2e5784b465d903106d833afab4f3e139d80;p=pandora-kernel.git 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 Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed