Fixed requested_state.
authorFlorian Pose <fp@igh-essen.com>
Fri, 25 Jul 2008 14:14:47 +0000
changeset 1150 c589b54ade01
parent 1149 f1fce286d53b
child 1151 1fc1535dec29
Fixed requested_state.
master/cdev.c
--- a/master/cdev.c	Fri Jul 25 14:10:04 2008 +0000
+++ b/master/cdev.c	Fri Jul 25 14:14:47 2008 +0000
@@ -545,7 +545,7 @@
         return -EINVAL;
     }
 
-    ec_slave_request_state(slave, data.requested_state);
+    ec_slave_request_state(slave, data.al_state);
 
     up(&master->master_sem);
     return 0;