]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Remove unnecessary call in resuming p2p_find
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Aug 2012 17:28:04 +0000 (20:28 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 Aug 2012 17:28:04 +0000 (20:28 +0300)
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 <jouni@qca.qualcomm.com>

wpa_supplicant/wpa_supplicant.c

index a0c2608c2cc1207873f0c1dd1ff39763b3bb7c2e..c3ebfc1a5ebf3ee5ceac59c72da9ee449f5dcf85 100644 (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 */