master/ethernet.c
changeset 2044 1ae0491b2f6b
parent 2028 55854f070c4a
child 2045 ff2a13a4603c
equal deleted inserted replaced
2041:f5b31f46c38f 2044:1ae0491b2f6b
   322     if (!eoe->opened)
   322     if (!eoe->opened)
   323         return;
   323         return;
   324 
   324 
   325     // if the datagram was not sent, or is not yet received, skip this cycle
   325     // if the datagram was not sent, or is not yet received, skip this cycle
   326     if (eoe->queue_datagram ||
   326     if (eoe->queue_datagram ||
   327         eoe->datagram.state == EC_DATAGRAM_SENT || eoe->datagram.state == EC_DATAGRAM_QUEUED)
   327         eoe->datagram.state == EC_DATAGRAM_QUEUED || eoe->datagram.state == EC_DATAGRAM_SENT)
   328         return;
   328         return;
   329 
   329 
   330     // call state function
   330     // call state function
   331     eoe->state(eoe);
   331     eoe->state(eoe);
   332 
   332