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:
parent
59d7cff7e3
commit
f5c15dc179
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue