aqhome-tool: fixed a bug.
This commit is contained in:
@@ -396,7 +396,7 @@ int _waitForFlashResponse(AQH_OBJECT *o, int timeoutInSeconds)
|
||||
|
||||
result=AQH_FlashResponseMessage_GetCode(nodeMsg);
|
||||
AQH_Message_free(nodeMsg);
|
||||
if (AQH_FlashResponseMessage_GetCode(nodeMsg)!=0) {
|
||||
if (result!=0) {
|
||||
DBG_ERROR(NULL, "Negative FLASH_RESPONSE received (%d)", result);
|
||||
return GWEN_ERROR_GENERIC;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user