diff mbox series

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

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

Commit Message

Github ODP bot Dec. 22, 2017, midnight 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: c813de80db7a9fd188a7563ade40bbd1e5bb7a02
 **/
 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) ||