diff options
author | silby <silby@FreeBSD.org> | 2008-12-13 07:45:48 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2008-12-13 07:45:48 +0000 |
commit | 3d06e8d3f4d4c624f3ec997c0d1d2e57b4f1f45b (patch) | |
tree | 87c698cce7ecb242aacb978911c2c0ab09fcc3ba /sys/dev/acpica | |
parent | 7397703a4c3f486b6d07c4be65374baae3776f5a (diff) | |
download | FreeBSD-src-3d06e8d3f4d4c624f3ec997c0d1d2e57b4f1f45b.zip FreeBSD-src-3d06e8d3f4d4c624f3ec997c0d1d2e57b4f1f45b.tar.gz |
Quick change to r186026. One of the conditionals was:
if (batt_sleep_ms)
AcpiOsSleep(1);
where the rest are all:
if (batt_sleep_ms)
AcpiOsSleep(batt_sleep_ms);
I can't recall why that one was different, so change it
to match the rest.
Pointed out by: Christoph Mallon
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r-- | sys/dev/acpica/acpi_smbat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_smbat.c b/sys/dev/acpica/acpi_smbat.c index d358ffd..3935a9f 100644 --- a/sys/dev/acpica/acpi_smbat.c +++ b/sys/dev/acpica/acpi_smbat.c @@ -332,7 +332,7 @@ acpi_smbus_read_multi_1(struct acpi_smbat_softc *sc, uint8_t addr, uint8_t cmd, ptr[len] = val; if (batt_sleep_ms) - AcpiOsSleep(1); + AcpiOsSleep(batt_sleep_ms); } out: |