wp_context->wispr_result = CONNMAN_WISPR_RESULT_LOGIN;
- __connman_agent_request_login_input(wp_context->service,
+ if (__connman_agent_request_login_input(wp_context->service,
wispr_portal_request_wispr_login,
- wp_context);
+ wp_context) != -EIO)
+ wispr_portal_error(wp_context);
+
break;
case 120: /* Falling down */
case 140:
DBG("Redirect URL: %s", redirect);
+ __connman_service_request_login(wp_context->service);
+
wp_context->request_id = g_web_request_get(wp_context->web,
redirect, wispr_portal_web_result, wp_context);