lwip: rework according review comments

This commit is contained in:
Liu Zhi Fu
2017-01-05 12:22:49 +08:00
parent be994740b4
commit d98b99f4f0
5 changed files with 14 additions and 7 deletions

View File

@@ -1437,6 +1437,7 @@ lwip_sendto(int s, const void *data, size_t size, int flags,
#else /* LWIP_NETIF_TX_SINGLE_PBUF */
err = netbuf_ref(&buf, data, short_size);
#endif /* LWIP_NETIF_TX_SINGLE_PBUF */
if (err == ERR_OK) {
DBG_PERF_PATH_SET(DBG_PERF_DIR_TX, DBG_PERF_POINT_SOC_OUT);
/* send the data */