Disassociate when starting WPS search
authorJouni Malinen <j@w1.fi>
Sun, 11 Dec 2011 16:30:47 +0000 (18:30 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Dec 2011 16:30:47 +0000 (18:30 +0200)
commitd9d87c3357bb7042fd4dc6858403fe5464698d01
treec406405b340a66982bb3637e9ccc4b3462b89f83
parent5506d18418f4632c2d1349f392104c0c39fc2610
Disassociate when starting WPS search

Previously, the WPS scans could have been done in associated state if we
happened to be associated when the request to use WPS was received. This
can slow down scanning and end up in unexpected state if no WPS
association is tried. Avoid these issues by disconnecting when WPS
search is started.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/wps_supplicant.c