|
|
@ -66,8 +66,6 @@ performCheckHandler(void* parameter, MmsValue* ctlVal, bool test, bool interlock
|
|
|
|
if (test)
|
|
|
|
if (test)
|
|
|
|
return CONTROL_TEMPORARILY_UNAVAILABLE;
|
|
|
|
return CONTROL_TEMPORARILY_UNAVAILABLE;
|
|
|
|
|
|
|
|
|
|
|
|
printf("controllingClient: %p connection: %p\n", controllingClient, connection);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* If there is already another client that controls the device reject the control attempt */
|
|
|
|
/* If there is already another client that controls the device reject the control attempt */
|
|
|
|
if (controllingClient == connection)
|
|
|
|
if (controllingClient == connection)
|
|
|
|
return CONTROL_ACCEPTED;
|
|
|
|
return CONTROL_ACCEPTED;
|
|
|
|