From patchwork Mon Feb 4 20:53:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Wu X-Patchwork-Id: 218067 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 DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "maxx.shmoo.com", Issuer "CA Cert Signing Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 9707F2C02B5 for ; Tue, 5 Feb 2013 07:54:00 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 632F79C15E; Mon, 4 Feb 2013 15:53:57 -0500 (EST) 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 hvcnk1JM6G+4; Mon, 4 Feb 2013 15:53:57 -0500 (EST) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id 726659C16D; Mon, 4 Feb 2013 15:53:53 -0500 (EST) 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 704F39C16D for ; Mon, 4 Feb 2013 15:53:52 -0500 (EST) 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 7xAvzZoJZ5Zh for ; Mon, 4 Feb 2013 15:53:47 -0500 (EST) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by maxx.maxx.shmoo.com (Postfix) with ESMTPS id AC7659C15E for ; Mon, 4 Feb 2013 15:53:47 -0500 (EST) Received: by mail-wg0-f43.google.com with SMTP id e12so5156618wge.22 for ; Mon, 04 Feb 2013 12:53:45 -0800 (PST) X-Received: by 10.180.84.162 with SMTP id a2mr12753776wiz.14.1360011224122; Mon, 04 Feb 2013 12:53:44 -0800 (PST) Received: from al.localnet (ipsix-1-pt.tunnel.tserv11.ams1.ipv6.he.net. [2001:470:1f14:b83::2]) by mx.google.com with ESMTPS id gy2sm11157736wib.3.2013.02.04.12.53.42 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 12:53:43 -0800 (PST) From: Peter Wu To: hostap@lists.shmoo.com Subject: [PATCH] dbus: add missing signal description for WPS (7) Date: Mon, 04 Feb 2013 21:53:40 +0100 Message-ID: <1561441.eQx7CLOFf7@al> User-Agent: KMail/4.9.5 (Linux/3.8.0-2-custom; KDE/4.9.5; x86_64; ; ) MIME-Version: 1.0 X-BeenThere: hostap@lists.shmoo.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces@lists.shmoo.com Errors-To: hostap-bounces@lists.shmoo.com Commit caff399250311abfea3376b38530a88bb78b957d added a property named "WPS" to the dbus interface. It did not add the new WPAS_DBUS_BSS_PROP_WPS property to the function responsible for marking changed properties though. This cause the following messages to be printed repeatedly to syslog: dbus: wpas_dbus_bss_signal_prop_changed: Unknown Property value 7 Signed-hostap: Peter Wu --- Compile-tested, not with WPS hardware. --- wpa_supplicant/dbus/dbus_new.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c index 8bc6618..5b4a0a4 100644 --- a/wpa_supplicant/dbus/dbus_new.c +++ b/wpa_supplicant/dbus/dbus_new.c @@ -1808,6 +1808,9 @@ void wpas_dbus_bss_signal_prop_changed(struct wpa_supplicant *wpa_s, case WPAS_DBUS_BSS_PROP_RSN: prop = "RSN"; break; + case WPAS_DBUS_BSS_PROP_WPS: + prop = "WPS"; + break; case WPAS_DBUS_BSS_PROP_IES: prop = "IEs"; break;