summaryrefslogtreecommitdiffstats
path: root/app/test/test_link_bonding_mode4.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_link_bonding_mode4.c')
-rw-r--r--app/test/test_link_bonding_mode4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/test_link_bonding_mode4.c b/app/test/test_link_bonding_mode4.c
index 292ea3d0..33967112 100644
--- a/app/test/test_link_bonding_mode4.c
+++ b/app/test/test_link_bonding_mode4.c
@@ -659,7 +659,7 @@ bond_handshake(void)
TEST_ASSERT_EQUAL(all_slaves_done, 1, "Bond handshake failed\n");
/* If flags doesn't match - report failure */
- return all_slaves_done = 1 ? TEST_SUCCESS : TEST_FAILED;
+ return all_slaves_done == 1 ? TEST_SUCCESS : TEST_FAILED;
}
#define TEST_LACP_SLAVE_COUT RTE_DIM(test_params.slave_ports)