service: request_input_cb handle wps setting
authorJulien Massot <jmassot@aldebaran-robotics.com>
Fri, 13 Apr 2012 15:16:33 +0000 (15:16 +0000)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 17 Apr 2012 10:37:18 +0000 (13:37 +0300)
src/agent.c
src/connman.h
src/service.c
src/wispr.c

index d0b3ecd..7374138 100644 (file)
@@ -194,6 +194,7 @@ done:
        passphrase_reply->callback(passphrase_reply->service, values_received,
                                name, name_len,
                                identity, passphrase,
+                               wps, wpspin,
                                passphrase_reply->user_data);
        connman_service_unref(passphrase_reply->service);
        dbus_message_unref(reply);
@@ -371,6 +372,7 @@ done:
        username_password_reply->callback(username_password_reply->service,
                                        TRUE, NULL, 0,
                                        username, password,
+                                       FALSE, NULL,
                                        username_password_reply->user_data);
        connman_service_unref(username_password_reply->service);
        dbus_message_unref(reply);
index 225928c..eef2722 100644 (file)
@@ -90,6 +90,7 @@ typedef void (* authentication_cb_t) (struct connman_service *service,
                                connman_bool_t values_received,
                                const char *name, int name_len,
                                const char *identifier, const char *secret,
+                               gboolean wps, const char *wpspin,
                                void *user_data);
 typedef void (* browser_authentication_cb_t) (struct connman_service *service,
                                connman_bool_t authentication_done,
index df86ce5..96dd0f9 100644 (file)
@@ -4281,6 +4281,7 @@ static void request_input_cb (struct connman_service *service,
                        connman_bool_t values_received,
                        const char *name, int name_len,
                        const char *identity, const char *passphrase,
+                       gboolean wps, const char *wpspin,
                        void *user_data)
 {
        struct connman_device *device;
index 70e044e..bea7a1e 100644 (file)
@@ -436,6 +436,7 @@ static void wispr_portal_request_wispr_login(struct connman_service *service,
                                connman_bool_t success,
                                const char *ssid, int ssid_len,
                                const char *username, const char *password,
+                               gboolean wps, const char *wpspin,
                                void *user_data)
 {
        struct connman_wispr_portal_context *wp_context = user_data;