PPP: fix ppp_write internal documentation

This function returns an err_t, not a number of characters written.
This commit is contained in:
Sylvain Rochet 2016-08-13 10:42:13 +02:00
parent 5493220c93
commit 4e1f8effaf

View File

@ -1003,9 +1003,6 @@ struct pbuf *ppp_singlebuf(struct pbuf *p) {
* IPv4 and IPv6 packets from lwIP are sent, respectively,
* with ppp_netif_output_ip4() and ppp_netif_output_ip6()
* functions (which are callbacks of the netif PPP interface).
*
* RETURN: >= 0 Number of characters written
* -1 Failed to write to device
*/
err_t ppp_write(ppp_pcb *pcb, struct pbuf *p) {
#if PRINTPKT_SUPPORT