updated post.c for 6657
authorJingting Zhou <zhoujt@ti.com>
Wed, 19 Sep 2012 22:44:55 +0000 (18:44 -0400)
committerJingting Zhou <zhoujt@ti.com>
Wed, 19 Sep 2012 22:44:55 +0000 (18:44 -0400)
post/src/post.c

index 174001aef0f32cd6480c71cdd6a63fe5164aaa51..417e7df5bbae2ad8d437919d638a1f6c4c5b1701 100644 (file)
@@ -802,7 +802,7 @@ post_test_emac_loopback
 
     platform_delay(1000);
 
-    if(EMAC_Recv(test_buf) <= 0)
+    if(EMAC_Recv(test_buf) < 0)
     {
         return POST_TEST_RESULT_FAILED;
     }