-
Greg Kroah-Hartman authored
In the backport of 1eaf35e4, the call to usb_disabled() was too late, after we had already done some allocation. Move that call to the top of the function instead, making the logic match what is intended and is in the original patch. Reported-by:
Luis Henriques <luis.henriques@canonical.com> Signed-off-by:
Jiri Slaby <jslaby@suse.cz>
b48d0542