Re: [RFC 4/7] hostapd: add dfs support into interface init flow
From: Goldenshtein, Victor <hidden>
Date: 2012-01-26 13:36:30
From: Goldenshtein, Victor <hidden>
Date: 2012-01-26 13:36:30
On Thu, Jan 26, 2012 at 3:10 PM, Felix Fietkau [off-list ref] wrote:
quoted
+ + 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.