Failed FoE transfer: notify foe_queue instead of sdo_queue
authorMartin Troxler <ch1010277@ch10pc446>
Thu, 23 Dec 2010 09:28:39 +0100
changeset 2026 68c1c31522a2
parent 2025 2d7e29d82e9a
child 2027 ac35f4d38a31
Failed FoE transfer: notify foe_queue instead of sdo_queue
master/fsm_slave.c
--- a/master/fsm_slave.c	Thu Dec 16 15:48:01 2010 +0100
+++ b/master/fsm_slave.c	Thu Dec 23 09:28:39 2010 +0100
@@ -266,7 +266,7 @@
             EC_SLAVE_WARN(slave, "Aborting FOE request,"
                     " slave has error flag set.\n");
             request->req.state = EC_INT_REQUEST_FAILURE;
-            wake_up(&slave->sdo_queue);
+            wake_up(&slave->foe_queue);
             fsm->sdo_request = NULL;
             fsm->state = ec_fsm_slave_state_idle;
             return 0;