wpa_supplicant: fix wpa2 enterprise PEAP connection issue

Closes https://github.com/espressif/esp-idf/issues/1887
This commit is contained in:
Liu Zhi Fu 2018-05-30 13:48:29 +08:00
parent ddff375bab
commit 6c89ab9839
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ struct wpabuf * eap_sm_build_nak(struct eap_sm *sm, EapType type, u8 id)
wpabuf_put_be24(resp, m->vendor);
wpabuf_put_be32(resp, m->method);
} else
wpabuf_put_u8(resp, EAP_TYPE_NONE);
wpabuf_put_u8(resp, m->method);
found++;
}
if (!found) {