| Submitter | Paul Stewart |
|---|---|
| Date | Jan. 11, 2013, 1:48 p.m. |
| Message ID | <20130111154444.0AFCE2002B5@clearcreek.mtv.corp.google.com> |
| Download | mbox | patch |
| Permalink | /patch/211370/ |
| State | Accepted |
| Commit | 93c7e332c2ed28238628a52c259670da93ed663a |
| Headers | show |
Comments
On Fri, Jan 11, 2013 at 05:48:33AM -0800, Paul Stewart wrote: > Signal the start of EAP authentication as well as when additional > credentials are required to complete. Thanks, applied.
Patch
diff --git a/src/eap_peer/eap.c b/src/eap_peer/eap.c index a4c9b25..85c242a 100644 --- a/src/eap_peer/eap.c +++ b/src/eap_peer/eap.c @@ -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 "EAP authentication started"); + eap_notify_status(sm, "started", ""); pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_IDENTITY, req, &msg_len); diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c index 6f69ddb..4859774 100644 --- a/wpa_supplicant/wpas_glue.c +++ b/wpa_supplicant/wpas_glue.c @@ -662,6 +662,8 @@ static void wpa_supplicant_eap_param_needed(void *ctx, return; } + wpas_notify_eap_status(wpa_s, "eap parameter needed", field_name); + buflen = 100 + os_strlen(txt) + ssid->ssid_len; buf = os_malloc(buflen); if (buf == NULL)