diff -r 8b358effa78b -r 4cf0161c445a master/fsm_slave_scan.c --- a/master/fsm_slave_scan.c Mon Mar 14 11:20:05 2011 +0100 +++ b/master/fsm_slave_scan.c Mon Mar 14 16:57:47 2011 +0100 @@ -137,8 +137,8 @@ int ec_fsm_slave_scan_exec(ec_fsm_slave_scan_t *fsm /**< slave state machine */) { - if (fsm->datagram->state == EC_DATAGRAM_SENT - || fsm->datagram->state == EC_DATAGRAM_QUEUED) { + if (fsm->datagram->state == EC_DATAGRAM_QUEUED + || fsm->datagram->state == EC_DATAGRAM_SENT) { // datagram was not sent or received yet. return ec_fsm_slave_scan_running(fsm); }