iwlwifi: mvm: fix bug in scan ssid
authorDavid Spinadel <david.spinadel@intel.com>
Thu, 4 Jul 2013 12:17:48 +0000 (15:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 01:35:21 +0000 (18:35 -0700)
commitd9bd9f5e484d91b89f022d40a925f2870502e4af
tree05565a4db40bd9750ba8a6d83ed1f98d53db6749
parentc0e4964618515104556da8bd96cc6604ab8286e2
iwlwifi: mvm: fix bug in scan ssid

commit fe04e83706037802c502ea41c0d1799ec35fc0d7 upstream.

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.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/scan.c