diff options
-rw-r--r-- | source/components/events/evregion.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/components/events/evregion.c b/source/components/events/evregion.c index ea57b4d51..c251b9ba8 100644 --- a/source/components/events/evregion.c +++ b/source/components/events/evregion.c @@ -708,8 +708,8 @@ AcpiEvExecuteRegMethod ( } if (RegionObj2->Extra.Method_REG == NULL || - RegionObj->Region.Handler == NULL || - !AcpiGbl_RegMethodsEnabled) + RegionObj->Region.Handler == NULL || + !AcpiGbl_RegMethodsEnabled) { return_ACPI_STATUS (AE_OK); } @@ -717,7 +717,7 @@ AcpiEvExecuteRegMethod ( /* _REG(DISCONNECT) should be paired with _REG(CONNECT) */ if ((Function == ACPI_REG_CONNECT && - RegionObj->Common.Flags & AOPOBJ_REG_CONNECTED) || + RegionObj->Common.Flags & AOPOBJ_REG_CONNECTED) || (Function == ACPI_REG_DISCONNECT && !(RegionObj->Common.Flags & AOPOBJ_REG_CONNECTED))) { |