Allow EEPROM writing when slave has error flag set.
--- a/master/fsm_master.c Tue Sep 18 14:16:26 2007 +0000
+++ b/master/fsm_master.c Tue Sep 18 14:17:49 2007 +0000
@@ -329,8 +329,8 @@
up(&master->eeprom_sem);
slave = request->slave;
- if (slave->online_state == EC_SLAVE_OFFLINE || slave->error_flag) {
- EC_ERR("Discarding EEPROM data, slave %i not ready.\n",
+ if (slave->online_state == EC_SLAVE_OFFLINE) {
+ EC_ERR("Discarding EEPROM data, slave %i offline.\n",
slave->ring_position);
request->state = EC_REQUEST_FAILURE;
wake_up(&master->eeprom_queue);