Re: [PATCH 3/3] Added missing return in EAP-SIM server implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2019-05-17 at 14:55 +0300, Mohit Sethi wrote:
> 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;
>  }

This, and your 5/5 patch, should just be squashed into the 2/2 patch.
eg if it's a fixup of a previous patch, then just squash the two
together.

Dan


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux