--- 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;