Re: [PATCH v2 1/2] sae: check return on sae_send_commit()

Denis Kenzior <[email protected]> Thu, 5 Jun 2025 10:00:57 -0500
Newsgroups dev.linux.lists.iwd
Message-ID <[email protected]>
Hi James,

On 5/28/25 2:27 PM, James Prestwood wrote:
> If this fails, in some cases, -EAGAIN would be returned up to netdev
> which would then assume a retry would be done automatically. This
> would not in fact happen since it was an internal SAE failure which
> would result in the connect method return to never get sent.
> 
> Now if sae_send_commit() fails, return -EPROTO which will cause
> netdev to fail the connection.
> ---
>   src/sae.c | 14 ++++++++++----
>   1 file changed, 10 insertions(+), 4 deletions(-)
> 

Applied, thanks.

Regards,
-Denis