Added the return in eap_sim_build_reauth function to return the wpabuf object. It was missing in the previous patch. Signed-off-by: Mohit Sethi <mohit.sethi@xxxxxxxx> --- src/eap_server/eap_server_sim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eap_server/eap_server_sim.c b/src/eap_server/eap_server_sim.c index 7ea208d..ac681f9 100644 --- a/src/eap_server/eap_server_sim.c +++ b/src/eap_server/eap_server_sim.c @@ -288,6 +288,8 @@ static struct wpabuf * eap_sim_build_reauth(struct eap_sm *sm, os_memset(data->reauth_mac, 0, EAP_SIM_MAC_LEN); os_memcpy(data->reauth_mac, buf->buf + (int) (wpabuf_len(buf) - EAP_SIM_MAC_LEN), EAP_SIM_MAC_LEN); + + return buf; } -- 2.7.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap