Don't forget to pass shutdown events down to children first now that we
handle them at the bus level too.
This commit is contained in:
parent
2fa20830d5
commit
0e4148688c
@ -617,6 +617,9 @@ static int
|
||||
acpi_shutdown(device_t dev)
|
||||
{
|
||||
|
||||
/* Allow children to shutdown first. */
|
||||
bus_generic_shutdown(dev);
|
||||
|
||||
/* Disable all wake GPEs not appropriate for reboot/poweroff. */
|
||||
acpi_wake_limit_walk(ACPI_STATE_S5);
|
||||
return (0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user