]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
eloop: Allow to run event loop multiple times in a row
authorSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
Thu, 9 May 2013 13:42:14 +0000 (16:42 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 9 May 2013 13:42:14 +0000 (16:42 +0300)
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 <siwu@hrz.tu-chemnitz.de>

src/utils/eloop.c

index 2de3e0140689ce158c307bb791aaff88b0148d68..f62e2b70435c019846bee94ba60509c7e6403b1b 100644 (file)
@@ -799,6 +799,7 @@ void eloop_run(void)
 #endif /* CONFIG_ELOOP_POLL */
        }
 
+       eloop.terminate = 0;
 out:
 #ifndef CONFIG_ELOOP_POLL
        os_free(rfds);