diff mbox

D-Bus:Add function documentation for wpas_dbus_unregister_interface()

Message ID 1434946119-6125-1-git-send-email-maneesh.jain@samsung.com
State Accepted
Headers show

Commit Message

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

Comments

Jouni Malinen June 26, 2015, 10:09 p.m. UTC | #1
On Mon, Jun 22, 2015 at 09:38:39AM +0530, Maneesh Jain wrote:
> This is needed to add this function into Doxygen documentation

Thanks, applied.
diff mbox

Patch

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