From patchwork Thu Aug 14 23:56:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Shmidt X-Patchwork-Id: 380050 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from maxx.maxx.shmoo.com (maxx.shmoo.com [205.134.188.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C7AFE140086 for ; Fri, 15 Aug 2014 09:58:00 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id EFF7917C0A5; Thu, 14 Aug 2014 19:57:56 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K6MRN+Vp1-AN; Thu, 14 Aug 2014 19:57:56 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 3B79E17C0AB; Thu, 14 Aug 2014 19:57:52 -0400 (EDT) X-Original-To: mailman-post+hostap@maxx.shmoo.com Delivered-To: mailman-post+hostap@maxx.shmoo.com Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 8999917C0AB for ; Thu, 14 Aug 2014 19:57:50 -0400 (EDT) X-Virus-Scanned: amavisd-new at maxx.shmoo.com Received: from maxx.maxx.shmoo.com ([127.0.0.1]) by localhost (maxx.shmoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95BCr+ij7vDS for ; Thu, 14 Aug 2014 19:57:43 -0400 (EDT) Received: from mail-qa0-f74.google.com (mail-qa0-f74.google.com [209.85.216.74]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by maxx.maxx.shmoo.com (Postfix) with ESMTPS id D30DF17C0A5 for ; Thu, 14 Aug 2014 19:57:43 -0400 (EDT) Received: by mail-qa0-f74.google.com with SMTP id j15so225311qaq.5 for ; Thu, 14 Aug 2014 16:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:date:subject:to:message-id; bh=kcOoRMYkeHWQtCvr6izcpDaZqmZ4UYRDVqbEjk611jE=; b=iuC9EAaahPxXB9mM2FW9nXJoBJeD0XqXZ2FlL5lY0QORklW2RwjLAIjXRDTgV2HBy5 j6qHW0EwB81PdYmhQcZhkpiLRDBLj55CpfB93B08lyC34nSs/SzLKUFTjoOph004Kmnx YsNAHuorWy55Xn/IqXnmLfkKfL/H0o9kcj/9lD00A517VJ1C9L13huTUukCsDD09KC6K OqDY4hAH9WJ+uVriEQZnqtmPDC/echPau7Z+4XbFraCpt7l9ZvdD5kpiljpY8LsuWhS9 zbtC5QuubDodu85MHFt1Y2iPyRxSuJx4ntejPHtAecz0yKJ55FnFgalwi6xG9IB2XKzh tKoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:subject:to:message-id; bh=kcOoRMYkeHWQtCvr6izcpDaZqmZ4UYRDVqbEjk611jE=; b=RByl43ZYqAu4G5Vmj+n4H8iFShP6seuAV95f9dr4SCsgPxPonHZVmBbMVJALsFIYg5 UBza/qrOZ0ECgJVpAsMGggiGz9VC9mGuA+OiRBTxAkWeeLL5yOEoK6EFvuXqa3av9bmD r9+QhfG7yIF5VtzY/Rl5SDiQVY/KI9wkVA0VVWA24UUsya4VVRBMBgRGkc0/SOooofXD qXRaz31deo8zRQodWNxMXRb+GRFGrxVcgY7Rq1kf6iAMdLgSNSdG3iZ/YRcMN+bxXL+0 cbi3VSBMzP4D4UzklFS9p4fpCbzXLCWqNJ+bPgdUUUcJ4HuLVP+HcSTehdhVknADBRwD ZqDA== X-Gm-Message-State: ALoCoQk3qrdIgpVZbMYWBBmV7CdzhvubuEEHCPvZbbR/9BSgGN/fjc2ytWVk8uySKlUVaH2rQM4y1i6lFADb4Db2xIxllyzjhQrYmKd/cBJamjca+hZuQaDfKAKyLGNG5Zk2217V/G6r X-Received: by 10.224.45.131 with SMTP id e3mr7540621qaf.1.1408060663267; Thu, 14 Aug 2014 16:57:43 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id x19si128815yhg.0.2014.08.14.16.57.43 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Aug 2014 16:57:43 -0700 (PDT) Received: from ushik.mtv.corp.google.com (ushik.mtv.corp.google.com [172.22.122.113]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 1EB3C31C5BA for ; Thu, 14 Aug 2014 16:57:43 -0700 (PDT) Received: by ushik.mtv.corp.google.com (Postfix, from userid 57417) id 94502140224; Thu, 14 Aug 2014 16:57:42 -0700 (PDT) From: Dmitry Shmidt Date: Thu, 14 Aug 2014 16:56:00 -0700 Subject: [PATCH] Remove WPA_EVENT_SCAN_STARTED message from MSG_INFO log To: hostap@lists.shmoo.com Message-Id: <20140814235742.94502140224@ushik.mtv.corp.google.com> X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com Change-Id: I87638aae98ef8226a40de968910b03b2c102be35 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 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: