From: Jouni Malinen Date: Thu, 23 Aug 2012 17:28:04 +0000 (+0300) Subject: P2P: Remove unnecessary call in resuming p2p_find X-Git-Tag: hostap_2_0~351 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc8c7b88407d5515eaf94cfd19bdb09c70182660;p=thirdparty%2Fhostap.git P2P: Remove unnecessary call in resuming p2p_find Commit 99fcd404091a90317f6619e466f544ee32128a23 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 --- diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index a0c2608c2..c3ebfc1a5 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -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 */