mac80211: Reset assoc_scan_tries after an unsuccessful scan run
commite374055afbf92c8d128d8538aafc7e765838206e
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 29 Jan 2009 04:04:22 +0000 (29 09:34 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:38 +0000 (9 15:03 -0500)
tree942efa867048375320dcac4794e4e374828285c1
parent7519a8f0778bdb14f07cf685fa5fee6ab07e734c
mac80211: Reset assoc_scan_tries after an unsuccessful scan run

Trying to associate with a non-existent SSID stops the
state machine after the first run. Subsequent association
requests fail to start the scan engine. Fix this by resetting
assoc_scan_tries to zero after completing a scan run.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c