]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Skip fast-association when using connect_without_scan
authorJouni Malinen <j@w1.fi>
Sun, 30 Nov 2014 13:47:07 +0000 (15:47 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Nov 2014 13:53:11 +0000 (15:53 +0200)
commite4a35f07d9da7671be35639e0c6da8b4565e8b3a
tree0fa9ca26d671e4cb0bfabaf4dc8aac31413605fb
parent608b0ff52a9533d067c30cead6ed881bd593e006
mesh: Skip fast-association when using connect_without_scan

The mesh group addition was designed to use wpa_s->connect_without_scan
to skip a scan. That path was skipped if wpa_supplicant_fast_associate()
allowed previous scan results to be used. This could result in undesired
double-initialization attempt for the mesh interface. Avoid this by not
using wpa_supplicant_fast_associate() when wpa_s->connect_without_scan
is set.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_supplicant.c