[Feature][ZXW-241]merge P56U01 version

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I7985538dde6951dd824c36149bf9a1e3ca23c734
diff --git a/ap/app/clatd/translate.c b/ap/app/clatd/translate.c
index 1541cea..905f69c 100755
--- a/ap/app/clatd/translate.c
+++ b/ap/app/clatd/translate.c
@@ -556,7 +556,10 @@
   msg.msg_iov = out,
   msg.msg_iovlen = iov_len,
   sin6.sin6_addr = ((struct ip6_hdr *) out[CLAT_POS_IPHDR].iov_base)->ip6_dst;
-  sendmsg(fd, &msg, 0);
+  if(sendmsg(fd, &msg, 0) == -1)
+  {
+  	logmsg_dbg(ANDROID_LOG_ERROR,"send_rawv6 failed");
+  } 
 }
 
 /* function: translate_packet