aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2004-03-05 18:06:31 +0000
committerNate Lawson <njl@FreeBSD.org>2004-03-05 18:06:31 +0000
commit9db195a8d1a139800fbd59b01ae539972819cb43 (patch)
tree2874302a3c4cfb6a9ad4ee000e12486afb4ece7b /sys/dev
parent16df17d0621616ef8ece9fcc9be214c900eb0aef (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index d0efd74a0c1f..c539a4e98482 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -449,7 +449,7 @@ acpi_tz_monitor(void *Context)
}
/* Handle user override of active mode */
- if (sc->tz_requested > newactive)
+ if (sc->tz_requested != TZ_ACTIVE_NONE && sc->tz_requested < newactive)
newactive = sc->tz_requested;
/* update temperature-related flags */