diff mbox

[PATCHv2,1/3] hostap: allow to run event loop multiple times in a row

Message ID 1364231797-12569-2-git-send-email-siwu@hrz.tu-chemnitz.de
State Accepted
Commit a7505b1775129d836f6df9354d1720c5b7cadf04
Headers show

Commit Message

Simon Wunderlich March 25, 2013, 5:16 p.m. UTC
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 |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/src/utils/eloop.c b/src/utils/eloop.c
index 2de3e01..f62e2b7 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);