Fix for bad status, not executing a method

date	2004.11.05.22.33.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:09:16 +00:00
parent bb35a35220
commit 6d7926de2c

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: psparse - Parser top level AML parse routines
* $Revision: 1.145 $
* $Revision: 1.146 $
*
*****************************************************************************/
@ -1298,7 +1298,7 @@ AcpiPsParseAml (
{
Status = AE_OK;
}
else if (Status != AE_OK)
else if ((Status != AE_OK) && (WalkState->MethodDesc))
{
ACPI_REPORT_METHOD_ERROR ("Method execution failed",
WalkState->MethodNode, NULL, Status);