From a7505b1775129d836f6df9354d1720c5b7cadf04 Mon Sep 17 00:00:00 2001 From: Simon Wunderlich Date: Thu, 9 May 2013 16:42:14 +0300 Subject: [PATCH] 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 --- src/utils/eloop.c | 1 + 1 file changed, 1 insertion(+) 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);