diff --git a/src/ca/nciu.cpp b/src/ca/nciu.cpp index 099f2d380..7644b09e3 100644 --- a/src/ca/nciu.cpp +++ b/src/ca/nciu.cpp @@ -408,7 +408,7 @@ int nciu::write ( unsigned type, unsigned long countIn, const void *pValue ) else { status = ECA_DISCONNCHID; } - this->lockPIIU (); + this->unlockPIIU (); return status; }