P2P: Remove unnecessary call in resuming p2p_find

Commit 99fcd40409 added a call to update
search delay after failed authentication attempt. This change was
supposed to be only in p2p_supplicant.c for the successful case. The
extra call does not really do anything, but it's good to remove it to
avoid any confusion in the future.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2012-08-23 20:28:04 +03:00 committed by Jouni Malinen
parent 99fcd40409
commit cc8c7b8840

View file

@ -200,9 +200,6 @@ static void wpa_supplicant_timeout(void *eloop_ctx, void *timeout_ctx)
if (p2p_other_scan_completed(wpa_s->global->p2p) == 1) {
wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Pending P2P operation "
"continued after timed out authentication");
p2p_increase_search_delay(
wpa_s->global->p2p,
wpas_p2p_search_delay(wpa_s));
}
}
#endif /* CONFIG_P2P */