Fix typo in eap_example_server.c

The server sends only requests to the peer,
and the peer sends only responses to the server.

Signed-off-by: Sergei Sinyak <serega.belarus@gmail.com>
This commit is contained in:
Sergei Sinyak 2016-10-29 10:53:30 +03:00 committed by Jouni Malinen
parent 59d7cff7e3
commit f5c15dc179

View file

@ -277,7 +277,7 @@ int eap_example_server_step(void)
} }
if (process && eap_ctx.eap_if->eapReqData) { if (process && eap_ctx.eap_if->eapReqData) {
/* Send EAP response to the server */ /* Send EAP request to the peer */
eap_example_peer_rx(wpabuf_head(eap_ctx.eap_if->eapReqData), eap_example_peer_rx(wpabuf_head(eap_ctx.eap_if->eapReqData),
wpabuf_len(eap_ctx.eap_if->eapReqData)); wpabuf_len(eap_ctx.eap_if->eapReqData));
} }