fixed race when calculating DC offsets and start times due to ec_slave_config_attach: removed obsolete request to change slave state to OP.
The request to change to OP is done by ec_master_request_op after activating the master.
--- a/master/slave_config.c Mon Nov 22 09:53:43 2010 +0100
+++ b/master/slave_config.c Fri Nov 26 10:33:55 2010 +0100
@@ -244,8 +244,6 @@
slave->config = sc;
sc->slave = slave;
- ec_slave_request_state(slave, EC_SLAVE_STATE_OP);
-
EC_CONFIG_DBG(sc, 1, "Attached slave %u.\n", slave->ring_position);
return 0;