This fixes three forgotten calls to the complete function
in the error case.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
padata->info = crypto_aead_encrypt(req);
- if (padata->info)
+ if (padata->info == -EINPROGRESS)
return;
padata_do_serial(padata);
padata->info = crypto_aead_decrypt(req);
- if (padata->info)
+ if (padata->info == -EINPROGRESS)
return;
padata_do_serial(padata);
padata->info = crypto_aead_givencrypt(req);
- if (padata->info)
+ if (padata->info == -EINPROGRESS)
return;
padata_do_serial(padata);