zepif: fix comment for calling netif->input()

This commit is contained in:
goldsimon 2018-03-05 08:40:51 +01:00
parent 5474498f7e
commit 91a2d9e237

View File

@ -153,8 +153,7 @@ zepif_udp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p,
/* remove CRC trailer */
pbuf_realloc(p, p->tot_len - 2);
/* Call tcpip_6lowpan_input here, not netif->input as we know the direct call
* stack won't work as we could enter udp_input twice. */
/* Call into 6LoWPAN code. */
err = netif_lowpan6->input(p, netif_lowpan6);
if (err == ERR_OK) {
return;