On Thu, Jan 26, 2012 at 3:10 PM, Felix Fietkau <nbd@xxxxxxxxxxx> wrote: >> + >> + eloop_enable(); >> + wpa_printf(MSG_DEBUG, "Continuing with init flow"); >> } >> >> if (iface->current_mode) { > This seems like a bit of a hack to me. Wouldn't it be better to prevent > eloop_terminate() from being called instead of adding another function > to override the eloop termination? Couldn't find a cleaner way to do it, I mean without the usage of the eloop_run() + eloop_terminate(). We need to check a DFS channel prior starting the tx, i.e. - listen for radar event during the initialization flow, prior the hostapd_global_run(), I would gladly hear other ideas for this implementation. -- Thanks, Victor. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html