# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1218199480 0
# Node ID a27966f01b723995b925174cb2c86b53d158e465
# Parent  043d8fe76b8dfbdc35cc5ff8cc504a84367941fd
Fixed missing up().

diff -r 043d8fe76b8d -r a27966f01b72 master/cdev.c
--- a/master/cdev.c	Fri Aug 08 12:09:37 2008 +0000
+++ b/master/cdev.c	Fri Aug 08 12:44:40 2008 +0000
@@ -561,6 +561,7 @@
 
     if (!(slave = ec_master_find_slave(
                     master, 0, data.slave_position))) {
+        up(&master->master_sem);
         EC_ERR("Slave %u does not exist!\n", data.slave_position);
         return -EINVAL;
     }