aqhome-tool: no longer expect a reboot response.
This commit is contained in:
@@ -221,6 +221,7 @@ int _rebootNode(AQH_OBJECT *o, unsigned int uid, int timeoutInSeconds)
|
||||
}
|
||||
|
||||
AQH_ToolClient_SendNodeMsg(o, nodeMsg);
|
||||
#if 0
|
||||
nodeMsg=AQH_ToolClient_WaitForNodeMsg(o, 0, AQH_MSG_TYPE_REBOOT_RSP, timeoutInSeconds);
|
||||
if (nodeMsg==NULL) {
|
||||
DBG_INFO(NULL, "Bad or no reboot response received.");
|
||||
@@ -229,6 +230,7 @@ int _rebootNode(AQH_OBJECT *o, unsigned int uid, int timeoutInSeconds)
|
||||
|
||||
DBG_INFO(NULL, "REBOOT_RESPONSE message received");
|
||||
AQH_Message_free(nodeMsg);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user