[PATCH] wpa-cli: Don't start edit_mode if Daemonize mode is enabled.
greearb at candelatech.com
Wed Jun 14 10:27:37 PDT 2017
On 06/13/2017 05:51 PM, greearb at candelatech.com wrote:
> From: Ben Greear <greearb at candelatech.com>
> Daemonize disconnects stdin, so there is nothing to read and
> the eloop (often?) causes disconnect due to read of end-of-pipe
> from stdin.
> So, don't start edit mode in that case.
This patch doesn't actually fix my problem.
My goal is to run wpa_cli against a global interface, and just capture
all of the event output so I can process that in another (perl) program.
I now think I need a mode that is sort of a cross between the cli mode and
the action-file mode.
I'm working on a new patch to address this...
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Hostap