Add wpa_msg_ctrl() for ctrl_interface-only messages
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 10 Nov 2009 13:59:41 +0000 (15:59 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 10 Nov 2009 13:59:41 +0000 (15:59 +0200)
commit69856fadf77e680d01cac09da37e6bb3643ca427
treebcfd245abf73e3cd65883adf186b575c28844432
parentc2e3f9df6f4413897c5a16507743b401cd6a7532
Add wpa_msg_ctrl() for ctrl_interface-only messages

This is like wpa_msg(), but the output is directed only to
ctrl_interface listeners. In other words, the output will not be
shown on stdout or in syslog.

Change scan result reporting to use wpa_msg_ctrl() for
CTRL-EVENT-SCAN-RESULTS message at info level and wpa_printf() at
debug level to avoid showing scan result events in syslog in the
common configuration used with NetworkManager.
src/utils/wpa_debug.c
src/utils/wpa_debug.h
wpa_supplicant/events.c