RSN: Update preauth scan results only based on new scan results
authorJouni Malinen <j@w1.fi>
Tue, 23 Apr 2013 15:24:00 +0000 (18:24 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 23 Apr 2013 15:24:00 +0000 (18:24 +0300)
commit06b7f58def4fb24f53fc844870fad0bd8ccde52b
treef0fa239ae8bef21502ecb6e0d0ff9e65fca2c5b2
parent18e00b5e4dfc30e27c76b9563cab618c381c74e7
RSN: Update preauth scan results only based on new scan results

The fast-connect optimization to skip a new scan did not update how the
RSN preauthentication callback is used. There is no point in trying to
add preauthentication candidates from cases where scan was skipped, so
skip this call, too, in such cases.

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