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

login
register
mail settings
Submitter Simon Wunderlich
Date March 25, 2013, 5:16 p.m.
Message ID <1364231797-12569-2-git-send-email-siwu@hrz.tu-chemnitz.de>
Download mbox | patch
Permalink /patch/230760/
State Accepted
Commit a7505b1775129d836f6df9354d1720c5b7cadf04
Headers show

Comments

Simon Wunderlich - March 25, 2013, 5:16 p.m.
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(+)

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);