From patchwork Sun Mar 10 12:05:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Wu X-Patchwork-Id: 226426 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 521052C0308 for ; Sun, 10 Mar 2013 23:06:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id E50B49C1BA; Sun, 10 Mar 2013 08:06:10 -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 EZEUxw4T-9Nk; Sun, 10 Mar 2013 08:06:10 -0400 (EDT) Received: from maxx.shmoo.com (localhost [127.0.0.1]) by maxx.maxx.shmoo.com (Postfix) with ESMTP id AD0609C1BC; Sun, 10 Mar 2013 08:06:06 -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 DCB019C1BC for ; Sun, 10 Mar 2013 08:06:04 -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 olPpeOZOn-vK for ; Sun, 10 Mar 2013 08:06:01 -0400 (EDT) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) (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 097CC9C1BA for ; Sun, 10 Mar 2013 08:06:00 -0400 (EDT) Received: by mail-wg0-f47.google.com with SMTP id dr13so4106679wgb.14 for ; Sun, 10 Mar 2013 05:06:00 -0700 (PDT) X-Received: by 10.194.157.42 with SMTP id wj10mr13640454wjb.12.1362917159929; Sun, 10 Mar 2013 05:05:59 -0700 (PDT) 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 j4sm9192081wiz.10.2013.03.10.05.05.58 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Mar 2013 05:05:58 -0700 (PDT) From: Peter Wu To: hostap@lists.shmoo.com Subject: [RESEND,PATCH] dbus: add missing signal description for WPS (7) Date: Sun, 10 Mar 2013 13:05:56 +0100 Message-ID: <2236219.46Qve5pfpc@al> User-Agent: KMail/4.10.1 (Linux/3.8.2-1-custom; KDE/4.10.1; 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(+) break; 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";