Doppeltes Senden ist kein Fehler mehr.

This commit is contained in:
Florian Pose 2005-11-04 17:16:12 +00:00
parent ab171db9c1
commit d9f0c7cdef
1 changed files with 1 additions and 2 deletions

View File

@ -210,8 +210,7 @@ int EtherCAT_device_send(EtherCAT_device_t *ecd,
if (ecd->state == ECAT_DS_SENT) if (ecd->state == ECAT_DS_SENT)
{ {
EC_DBG(KERN_ERR "EtherCAT: Trying to send frame while last was not received!\n"); EC_DBG(KERN_WARNING "EtherCAT: Trying to send frame while last was not received!\n");
return -1;
} }
skb_trim(ecd->tx_skb, 0); // Clear transmit socket buffer skb_trim(ecd->tx_skb, 0); // Clear transmit socket buffer