[PATCH] D-Bus:Add function documentation for wpas_dbus_unregister_interface()

Maneesh Jain maneesh.jain at samsung.com
Mon Jun 22 00:08:39 EDT 2015


This is needed to add this function into Doxygen documentation
Signed-off-by: Maneesh Jain <maneesh.jain at samsung.com>
---
 wpa_supplicant/dbus/dbus_new.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
index 99c0cde..1f18471 100755
--- a/wpa_supplicant/dbus/dbus_new.c
+++ b/wpa_supplicant/dbus/dbus_new.c
@@ -3336,7 +3336,11 @@ err:
 	return -1;
 }
-
+/**
+ * wpas_dbus_unregister_interface - Un-register the interface from dbus
+ * @wpa_s: wpa_supplicant interface structure
+ * Returns: 0 on success, -1 on failure
+ */
 int wpas_dbus_unregister_interface(struct wpa_supplicant *wpa_s)
 {
 	struct wpas_dbus_priv *ctrl_iface;
-- 
1.7.9.5



More information about the HostAP mailing list