diff options
| author | Bala Krishna Bhamidipati <c_bbhami@qti.qualcomm.com> | 2014-12-03 12:45:41 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-12-03 22:37:52 -0800 |
| commit | 98be21929a86b9d4d985928dc7a83245b2bb9f9c (patch) | |
| tree | e27cbaffc5ccb71b9394e9b5fbfdfc659aaf87e5 | |
| parent | 9a66ea033894e3d691c69c120dfc98e4729cd319 (diff) | |
| download | android_external_wpa_supplicant_8-98be21929a86b9d4d985928dc7a83245b2bb9f9c.tar.gz android_external_wpa_supplicant_8-98be21929a86b9d4d985928dc7a83245b2bb9f9c.tar.bz2 android_external_wpa_supplicant_8-98be21929a86b9d4d985928dc7a83245b2bb9f9c.zip | |
eap_proxy: Remove extra bytes in EAP-Response/Identity
Adding size_of wpa_buf to the eap response from the modem is
reflecting in extra bytes to the identity and some radius servers
are unable to map the identity, further causing a failure.
This fix will remove the extra length being added to the response
frame.
Change-Id: Ie3c8db99b4de5d94491c329ff63adfb48527c1aa
CRs-Fixed: 765232
| -rw-r--r-- | src/eap_peer/eap_proxy_qmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_peer/eap_proxy_qmi.c b/src/eap_peer/eap_proxy_qmi.c index 8f834b1b..912b252a 100644 --- a/src/eap_peer/eap_proxy_qmi.c +++ b/src/eap_peer/eap_proxy_qmi.c @@ -1317,7 +1317,7 @@ struct wpabuf * eap_proxy_get_eapRespData(struct eap_proxy_sm *eap_proxy) return NULL; } - resp->used = sizeof(struct wpabuf) + len; + resp->used = len; os_memcpy(resp->buf, eap_proxy->qmi_resp_data.eap_send_pkt_resp.resp_data, len); /* |
