Fixed SDO up/download kernel oops bug
authorMartin Troxler <martin.troxler@komaxgroup.com>
Mon, 23 Nov 2009 14:22:48 +0100
changeset 1582 7273aa7deb3d
parent 1580 1baac79a40cf
child 1583 017fa8fd9ac1
Fixed SDO up/download kernel oops bug
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;