master/fsm_slave.c
changeset 1610 d46de2278ac6
parent 1608 004a8b91e927
child 1804 742607c464c4
--- a/master/fsm_slave.c	Mon Jan 04 14:16:53 2010 +0100
+++ b/master/fsm_slave.c	Mon Jan 04 14:17:31 2010 +0100
@@ -282,8 +282,8 @@
         EC_DBG("Failed to process SDO request for slave %u.\n",
                 fsm->slave->ring_position);
         request->state = EC_INT_REQUEST_FAILURE;
-		wake_up(&slave->foe_queue);
-		fsm->foe_request = NULL;
+		wake_up(&slave->sdo_queue);
+		fsm->sdo_request = NULL;
 		fsm->state = ec_fsm_slave_state_idle;
         return;
     }