Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: legotower: fix logical error in recent commit
Commit d9f0d82 ("USB: legousbtower: use usb_control_msg_recv()") contained an elementary logical error. The check of the return code from the new usb_control_msg_recv() function was inverted. Reported-and-tested-by: [email protected] Signed-off-by: Alan Stern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: d9f0d82 ("USB: legousbtower: use usb_control_msg_recv()") Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information