From: Simon Wunderlich Date: Thu, 9 May 2013 13:42:14 +0000 (+0300) Subject: eloop: Allow to run event loop multiple times in a row X-Git-Tag: aosp-kk-from-upstream~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7505b1775129d836f6df9354d1720c5b7cadf04;p=thirdparty%2Fhostap.git eloop: Allow to run event loop multiple times in a row DFS implementation requires to run an eventloop while monitoring the Channel Availability Check (CAC). After that, the "real" event loop is started, and should not fail doing so. Signed-hostap: Simon Wunderlich --- diff --git a/src/utils/eloop.c b/src/utils/eloop.c index 2de3e0140..f62e2b704 100644 --- a/src/utils/eloop.c +++ b/src/utils/eloop.c @@ -799,6 +799,7 @@ void eloop_run(void) #endif /* CONFIG_ELOOP_POLL */ } + eloop.terminate = 0; out: #ifndef CONFIG_ELOOP_POLL os_free(rfds);