iwlwifi: invert the order of ssid list in scan cmd
authorDavid Spinadel <david.spinadel@intel.com>
Fri, 11 May 2012 08:53:17 +0000 (10:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 17:08:19 +0000 (13:08 -0400)
commit65781af6b5e0dd07bf33dfb12be876129e74efa5
tree002b6fa1bdb6432e6bbf91e97c85ccc13eedda55
parent4f9bfbb1881017911296724aec0999b041a3d7d6
iwlwifi: invert the order of ssid list in scan cmd

The firmware inverts the order of ssid list of scan command, we
should invert the order before sending the command, in order to
get probe requests sent in wanted order.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-scan.c