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

Maneesh Jain maneesh.jain
Sun Jun 21 21:05:08 PDT 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 |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
index 62852b0..99c0cde 100755
--- a/wpa_supplicant/dbus/dbus_new.c
+++ b/wpa_supplicant/dbus/dbus_new.c
@@ -3281,7 +3281,12 @@ static const struct wpa_dbus_signal_desc wpas_dbus_interface_signals[] = {
 	{ NULL, NULL, { END_ARGS } }
 };
-
+/**
+ * wpas_dbus_register_interface - Register a interface with dbus
+ * @wpa_s: wpa_supplicant interface structure
+ * Returns: 0 on success, -1 on failure
+ *
+ */
 int wpas_dbus_register_interface(struct wpa_supplicant *wpa_s)
 {
-- 
1.7.9.5




More information about the Hostap mailing list