Stub out the dbus function w/o CONFIG_WPS to fix build
authorSam Leffler <sleffler@google.com>
Thu, 22 Oct 2009 18:08:10 +0000 (11:08 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 22 Oct 2009 18:08:10 +0000 (11:08 -0700)
wpa_supplicant/ctrl_iface_dbus.c

index 572f262..06f5a88 100644 (file)
@@ -861,6 +861,11 @@ void wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s,
 out:
        dbus_message_unref(_signal);
 }
+#else /* CONFIG_WPS */
+void wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s,
+                                        const struct wps_credential *cred)
+{
+}
 #endif /* CONFIG_WPS */