wpa_supplicant: Add more DBus EAP status
Signal the start of EAP authentication as well as when additional credentials are required to complete. Signed-hostap: Paul Stewart <pstew@chromium.org>
This commit is contained in:
parent
67bc1375eb
commit
93c7e332c2
2 changed files with 3 additions and 0 deletions
|
@ -891,6 +891,7 @@ static void eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req)
|
||||||
|
|
||||||
wpa_msg(sm->msg_ctx, MSG_INFO, WPA_EVENT_EAP_STARTED
|
wpa_msg(sm->msg_ctx, MSG_INFO, WPA_EVENT_EAP_STARTED
|
||||||
"EAP authentication started");
|
"EAP authentication started");
|
||||||
|
eap_notify_status(sm, "started", "");
|
||||||
|
|
||||||
pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req,
|
pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req,
|
||||||
&msg_len);
|
&msg_len);
|
||||||
|
|
|
@ -662,6 +662,8 @@ static void wpa_supplicant_eap_param_needed(void *ctx,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wpas_notify_eap_status(wpa_s, "eap parameter needed", field_name);
|
||||||
|
|
||||||
buflen = 100 + os_strlen(txt) + ssid->ssid_len;
|
buflen = 100 + os_strlen(txt) + ssid->ssid_len;
|
||||||
buf = os_malloc(buflen);
|
buf = os_malloc(buflen);
|
||||||
if (buf == NULL)
|
if (buf == NULL)
|
||||||
|
|
Loading…
Reference in a new issue