hostapd: Set stdout line-buffered
authorPaul Stewart <pstew@chromium.org>
Thu, 4 Dec 2014 22:23:35 +0000 (14:23 -0800)
committerJouni Malinen <j@w1.fi>
Mon, 29 Dec 2014 13:49:05 +0000 (15:49 +0200)
commitde27bc7673b75408e8aa761ca523501eb6b6e0f2
tree33dc1495aea0d8d4c2906054909792c0ae358fb6
parenta642a52b1798776ff089e4103a5d1d7edec8f9ea
hostapd: Set stdout line-buffered

If hostapd will use stdout for debugging, set stdout to be line
buffered in case its output is redirected to a file. This allows
incremental output to be viewed immediately instead of at the file
buffering interval.

Signed-hostap: Paul Stewart <pstew@chromium.org>
hostapd/main.c
src/utils/wpa_debug.c
src/utils/wpa_debug.h