]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3bc978e01c4d13b703f11b4ef1f4e0226fc007ab
tree87ff9c49a94abb8f017775de059217ea61cc96e8
parent413a55d500c5471a5ddff5f7fb39f60eda448afc
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