Fixed sdo request handling in case of failure
authorMatthias Luescher <ch1010472@ch10pc594>
Mon, 04 Jan 2010 11:27:37 +0100
changeset 1608 004a8b91e927
parent 1605 1a588303083a
child 1609 94010c6d8198
Fixed sdo request handling in case of failure
master/fsm_slave.c
--- a/master/fsm_slave.c	Fri Dec 18 11:09:07 2009 +0100
+++ b/master/fsm_slave.c	Mon Jan 04 11:27:37 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;
     }