OSDN Git Service

Remove WPS availability messaging
authorIrfan Sheriff <isheriff@google.com>
Tue, 28 Sep 2010 19:31:28 +0000 (12:31 -0700)
committerIrfan Sheriff <isheriff@google.com>
Tue, 28 Sep 2010 19:36:36 +0000 (12:36 -0700)
We check WPS availability from scan results.
We can do without the frequenty log/message of WPS availability.

Bug: 3042300
Change-Id: I0756ea544d60bd13c0d61c0e14a4aea5d4f71b49

wpa_supplicant/events.c

index fd48a9a..77dca18 100644 (file)
@@ -645,7 +645,10 @@ static void wpa_supplicant_event_scan_results(struct wpa_supplicant *wpa_s)
                wpa_printf(MSG_DEBUG, "New scan results available");
                wpa_msg_ctrl(wpa_s, MSG_INFO, WPA_EVENT_SCAN_RESULTS);
                wpa_supplicant_dbus_notify_scan_results(wpa_s);
+/* WPS availability is fetched from scan results. Reduce logging. */
+#ifndef ANDROID
                wpas_wps_notify_scan_results(wpa_s);
+#endif
        }
 
        if ((wpa_s->conf->ap_scan == 2 && !wpas_wps_searching(wpa_s)))