From abc05534aaee382771f445b963ca3a984d6d70a4 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Thu, 14 Aug 2014 16:56:00 -0700 Subject: [PATCH] Remove WPA_EVENT_SCAN_STARTED message from MSG_INFO log Signed-off-by: Dmitry Shmidt --- wpa_supplicant/events.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index 4e84f6e63..0fe7a918d 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -2986,15 +2986,17 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event, wpa_s->own_scan_running = 1; if (wpa_s->last_scan_req == MANUAL_SCAN_REQ && wpa_s->manual_scan_use_id) { - wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_SCAN_STARTED "id=%u", - wpa_s->manual_scan_id); + wpa_msg_ctrl(wpa_s, MSG_INFO, + WPA_EVENT_SCAN_STARTED "id=%u", + wpa_s->manual_scan_id); } else { - wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_SCAN_STARTED); + wpa_msg_ctrl(wpa_s, MSG_INFO, + WPA_EVENT_SCAN_STARTED); } } else { wpa_dbg(wpa_s, MSG_DEBUG, "External program started a scan"); wpa_s->external_scan_running = 1; - wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_SCAN_STARTED); + wpa_msg_ctrl(wpa_s, MSG_INFO, WPA_EVENT_SCAN_STARTED); } break; case EVENT_SCAN_RESULTS: