Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/wolfesp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,12 @@ esp_send(struct wolfIP_ll_dev * ll_dev, const struct wolfIP_ip_packet *ip,
}

/* send it */
ll_dev->send(ll_dev, esp, ip_final_len + ETH_HEADER_LEN);
esp_rc = ll_dev->send(ll_dev, esp, ip_final_len + ETH_HEADER_LEN);
if (esp_rc != (ip_final_len + ETH_HEADER_LEN)) {
ESP_LOG("error: esp dev send: sent %d, expected %d\n", esp_rc,
(ip_final_len + ETH_HEADER_LEN));
return -1;
}
Comment on lines +1871 to +1876
return 0;
}
#endif /* WOLFIP_ESP && !WOLFESP_SRC */
Loading