[RESEND,PATCH] dbus: add missing signal description for WPS (7)

Peter Wu lekensteyn at gmail.com
Sun Mar 10 08:05:56 EDT 2013


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 <lekensteyn at gmail.com>
---
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;
-- 
1.8.1.2



More information about the HostAP mailing list