char *wpspin = NULL;
char *key;
char *name = NULL;
- int name_len;
+ int name_len = 0;
DBusMessageIter iter, dict;
DBusMessage *reply = dbus_pending_call_steal_reply(call);
done:
passphrase_reply->callback(passphrase_reply->service, values_received,
+ name, name_len,
identity, passphrase,
passphrase_reply->user_data);
connman_service_unref(passphrase_reply->service);
done:
username_password_reply->callback(username_password_reply->service,
- TRUE,
+ TRUE, NULL, 0,
username, password,
username_password_reply->user_data);
connman_service_unref(username_password_reply->service);
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,
void *user_data);
typedef void (* report_error_cb_t) (struct connman_service *service,
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,
void *user_data)
{