[PATCH] wpa_supplicant: Added newline to the pin string printed to the user

Jouni Malinen j
Mon Feb 21 12:52:35 PST 2011


On Mon, Feb 14, 2011 at 11:25:37AM +0200, Guy Eilam wrote:
> Added a newline at the end of the pin string for both
> generated pin and given pin from the user.
> In case the user runs the "wps pin" command from inside
> the cli, the pin number printed to the user might be
> erased after less then a second by the following messages in
> the connection process when there is no newline.

I would prefer not to change the actual control interface response since
some programs and scripts may depend on the current behavior. However, a
similar change can be done in wpa_cli to address this for the
interactive mode:
http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff;h=a432bafbca5bd6c0e7a5de886596187b5e30b546

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list