summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba9e4e9)
raw | patch | inline | side by side (parent: ba9e4e9)
author | Jingting Zhou <zhoujt@ti.com> | |
Wed, 19 Sep 2012 00:28:14 +0000 (20:28 -0400) | ||
committer | Jingting Zhou <zhoujt@ti.com> | |
Wed, 19 Sep 2012 00:28:14 +0000 (20:28 -0400) |
post/src/post.c | patch | blob | history |
diff --git a/post/src/post.c b/post/src/post.c
index f0638d04480987f48fecb7383ef647da777c6eca..174001aef0f32cd6480c71cdd6a63fe5164aaa51 100644 (file)
--- a/post/src/post.c
+++ b/post/src/post.c
platform_delay(100);
/* Receive the loopback packet */
- if (ret = cpmac_drv_receive (&nDevice, test_buf) < 0)
+ if (ret = cpmac_drv_receive (&nDevice, test_buf) <= 0)
{
return POST_TEST_RESULT_FAILED;
}
platform_delay(1000);
- if(EMAC_Recv(test_buf) < 0)
+ if(EMAC_Recv(test_buf) <= 0)
{
return POST_TEST_RESULT_FAILED;
}