1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

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
This commit is contained in:
Mike Silbersack 2008-12-13 07:45:48 +00:00
parent d4892ee51e
commit 2b39b8273f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186031

View File

@ -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: