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>
This commit is contained in:
Simon Wunderlich 2013-05-09 16:42:14 +03:00 committed by Jouni Malinen
parent 6124e858fd
commit a7505b1775

View file

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