[PATCH] Remove WPA_EVENT_SCAN_STARTED message from MSG_INFO log
Dmitry Shmidt
dimitrysh
Thu Aug 14 16:56:00 PDT 2014
Change-Id: I87638aae98ef8226a40de968910b03b2c102be35
Signed-off-by: Dmitry Shmidt <dimitrysh at google.com>
---
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 2d0b827..33e31b9 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2990,15 +2990,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:
--
2.1.0.rc2.206.gedb03e5
More information about the Hostap
mailing list