wpa_cli: Add newline to end of responses in interactive mode
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 21 Feb 2011 20:50:11 +0000 (22:50 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 21 Feb 2011 20:50:11 +0000 (22:50 +0200)
commita432bafbca5bd6c0e7a5de886596187b5e30b546
tree668b077c64e8ececdab4eae49676c0b9362785c2
parente4ac6417c7504e1c55ec556ce908974c04e29e3c
wpa_cli: Add newline to end of responses in interactive mode

Some of the wpa_supplicant control interface commands, like WPS_PIN,
may not include a newline in the end of the response. This can result
in the response being lost when wpa_cli redraws the screen after an
event message. Add a newline after such responses in interactive mode
to avoid the problem.
wpa_supplicant/wpa_cli.c