Browse Source

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 <siwu@hrz.tu-chemnitz.de>
Simon Wunderlich 12 years ago
parent
commit
a7505b1775
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/utils/eloop.c

+ 1 - 0
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);