[PW_SID:967097] sae: check return on sae_send_commit()#471
Conversation
This is taken care of by the individual cache items and if none exist, tar fails.
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.
|
Fetch PR Prep - Setup ELL Make Distcheck Build - Configure Make Check Make Check w/Valgrind Incremental Build with patches |
|
Fetch PR GitLint Prep - Setup ELL Make Distcheck Build - Configure Make Check Make Check w/Valgrind Incremental Build with patches Autotest Runner Clang Build |
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(-)