iwlwifi: mvm: fix bug in scan ssid
authorDavid Spinadel <david.spinadel@intel.com>
Thu, 4 Jul 2013 12:17:48 +0000 (15:17 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Jul 2013 10:55:08 +0000 (13:55 +0300)
commitfe04e83706037802c502ea41c0d1799ec35fc0d7
treed9ee43b1c2b172c0971890c1c05de7a819108b27
parent48bc13072109ea58465542aa1ee31b4e1065468a
iwlwifi: mvm: fix bug in scan ssid

Increment index in each iteration. Without this increment we are
overriding the added SSIDs and we will send only the last SSId
and (n_ssids - 1) broadcast probes.

Cc: <stable@vger.kernel.org> [3.9+]
Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c