diff options
author | Thinh Nguyen <[email protected]> | 2019-05-14 14:38:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-05-21 10:25:58 +0200 |
commit | fea3af5e0358b014c653561109c11ebd3ecdbff2 (patch) | |
tree | 4030893ec3bd74461161941c04774927be5216e2 /net/unix/sysctl_net_unix.c | |
parent | d991f855cb4f84c638e2016818259720ceed4191 (diff) |
usb: core: hub: Enable/disable U1/U2 in configured state
SET_FEATURE(U1/U2_ENABLE) and CLEAR_FEATURE(U1/U2) only apply while the
device is in configured state. Add proper check in usb_disable_lpm() and
usb_enable_lpm() for enabling/disabling device-initiated U1/U2.
Signed-off-by: Thinh Nguyen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions