diff mbox series

[API-NEXT,v1,1/2] validation: ipsec: fix two c&p errors

Message ID 1513897213-21059-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [API-NEXT,v1,1/2] validation: ipsec: fix two c&p errors | expand

Commit Message

Github ODP bot Dec. 21, 2017, 11 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Fix two c&p errors in testsuite configuration setup/validation.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 362 (lumag:fixes)
 ** https://github.com/Linaro/odp/pull/362
 ** Patch: https://github.com/Linaro/odp/pull/362.patch
 ** Base sha: 177eeff39e19289e771119cfdffc515cb16f9db5
 ** Merge commit sha: f1d8749f905f7835b82359e44fc229496b127758
 **/
 test/validation/api/ipsec/ipsec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/test/validation/api/ipsec/ipsec.c b/test/validation/api/ipsec/ipsec.c
index d6ce34aab..ea3cff052 100644
--- a/test/validation/api/ipsec/ipsec.c
+++ b/test/validation/api/ipsec/ipsec.c
@@ -136,7 +136,7 @@  int ipsec_check(odp_bool_t ah,
 
 	if ((ODP_IPSEC_OP_MODE_SYNC == suite_context.inbound_op_mode &&
 	     ODP_SUPPORT_NO == capa.op_mode_sync) ||
-	    (ODP_IPSEC_OP_MODE_ASYNC == suite_context.outbound_op_mode &&
+	    (ODP_IPSEC_OP_MODE_SYNC == suite_context.outbound_op_mode &&
 	     ODP_SUPPORT_NO == capa.op_mode_sync) ||
 	    (ODP_IPSEC_OP_MODE_ASYNC == suite_context.inbound_op_mode &&
 	     ODP_SUPPORT_NO == capa.op_mode_async) ||
@@ -888,7 +888,7 @@  int ipsec_config(odp_instance_t ODP_UNUSED inst)
 	 * in test checking function and just say that the test is inactive. */
 	if ((ODP_IPSEC_OP_MODE_SYNC == suite_context.inbound_op_mode &&
 	     ODP_SUPPORT_NO == capa.op_mode_sync) ||
-	    (ODP_IPSEC_OP_MODE_ASYNC == suite_context.outbound_op_mode &&
+	    (ODP_IPSEC_OP_MODE_SYNC == suite_context.outbound_op_mode &&
 	     ODP_SUPPORT_NO == capa.op_mode_sync) ||
 	    (ODP_IPSEC_OP_MODE_ASYNC == suite_context.inbound_op_mode &&
 	     ODP_SUPPORT_NO == capa.op_mode_async) ||