Browse Source

Stub out the dbus function w/o CONFIG_WPS to fix build

Sam Leffler 15 years ago
parent
commit
2d8fe38109
1 changed files with 5 additions and 0 deletions
  1. 5 0
      wpa_supplicant/ctrl_iface_dbus.c

+ 5 - 0
wpa_supplicant/ctrl_iface_dbus.c

@@ -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 */