iwlwifi: mvm: revert order of SSIDs for sched scans
authorLuciano Coelho <luciano.coelho@intel.com>
Thu, 2 Apr 2015 13:31:42 +0000 (16:31 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:18:10 +0000 (13:18 +0300)
commit1c1b5b2628fa282382d125b0d3b9d1d20e53b62e
tree87ff9c49a94abb8f017775de059217ea61cc96e8
parent5ef766fe785ddcda29057f64b30f19e9bdfabe12
iwlwifi: mvm: revert order of SSIDs for sched scans

The firmware inverts the order of the SSIDs sent out in probe requests
(for some reason).  For regular scans, we've been passing the SSIDs in
the opposite order so they go out in the order we want.  With
scheduled scans, we were not doing that, so they were sent out in
reverse order of priority.  Fix that by using the reverse order when
populating the SSIDs array for scheduled scans as well.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c