# HG changeset patch
# User Martin Troxler <martin.troxler@komaxgroup.com>
# Date 1258982568 -3600
# Node ID 7273aa7deb3d331a2ff6b7200eb959aae90696f3
# Parent  1baac79a40cf55357a1018a808d7b01aa9e96e64
Fixed SDO up/download kernel oops bug

diff -r 1baac79a40cf -r 7273aa7deb3d master/cdev.c
--- a/master/cdev.c	Thu Nov 19 14:44:57 2009 +0100
+++ b/master/cdev.c	Mon Nov 23 14:22:48 2009 +0100
@@ -816,7 +816,7 @@
         // interrupted by signal
         down(&master->master_sem);
         if (request.req.state == EC_INT_REQUEST_QUEUED) {
-            list_del(&request.req.list);
+            list_del(&request.list);
             up(&master->master_sem);
             ec_sdo_request_clear(&request.req);
             return -EINTR;
@@ -917,7 +917,7 @@
         // interrupted by signal
         down(&master->master_sem);
         if (request.req.state == EC_INT_REQUEST_QUEUED) {
-            list_del(&request.req.list);
+            list_del(&request.list);
             up(&master->master_sem);
             ec_sdo_request_clear(&request.req);
             return -EINTR;