mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 15:48:48 -04:00
Add missing #if's
Approved by: thompsa (mentor)
This commit is contained in:
parent
b64cf89faf
commit
2ecb4e919f
1 changed files with 2 additions and 0 deletions
|
|
@ -438,8 +438,10 @@ usb_handle_remote_wakeup(struct usb_xfer *xfer, uint8_t is_on)
|
|||
|
||||
USB_BUS_UNLOCK(bus);
|
||||
|
||||
#if USB_HAVE_POWERD
|
||||
/* In case we are out of sync, update the power state. */
|
||||
usb_bus_power_update(udev->bus);
|
||||
#endif
|
||||
return (0); /* success */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue