master/fsm_sii.c
changeset 1583 017fa8fd9ac1
parent 1507 68e89abadd19
child 1599 fe338fe37923
--- a/master/fsm_sii.c	Mon Nov 23 14:22:48 2009 +0100
+++ b/master/fsm_sii.c	Thu Nov 26 15:33:48 2009 +0100
@@ -248,7 +248,6 @@
    SII state: READ FETCH.
    Fetches the result of an SII-read datagram.
 */
-
 void ec_fsm_sii_state_read_fetch(
         ec_fsm_sii_t *fsm /**< finite state machine */
         )
@@ -302,6 +301,7 @@
         }
 
         // issue check/fetch datagram again
+        fsm->datagram->state = EC_DATAGRAM_INIT;
         fsm->retries = EC_FSM_RETRIES;
         return;
     }
@@ -435,6 +435,7 @@
 #endif
         // issue check datagram again
         fsm->retries = EC_FSM_RETRIES;
+        fsm->datagram->state = EC_DATAGRAM_INIT;
         return;
     }
 
@@ -453,6 +454,7 @@
 
         // issue check datagram again
         fsm->retries = EC_FSM_RETRIES;
+        fsm->datagram->state = EC_DATAGRAM_INIT;
         return;
     }