uas: fix comparison for error code
authorOliver Neukum <oneukum@suse.com>
Tue, 6 Mar 2018 14:04:24 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Mar 2018 07:42:45 +0000 (08:42 +0100)
commitfdd0f1b2efc7ad006c38070b9e034f44995357f5
tree597a8cbd77ee3f18934fc2f5bd76b5084e44fe82
parent3c8e0474f543dfa58a3f192ec6b7a7397306be4b
uas: fix comparison for error code

commit 9a513c905bb95bef79d96feb08621c1ec8d8c4bb upstream.

A typo broke the comparison.

Fixes: cbeef22fd611 ("usb: uas: unconditionally bring back host after reset")
Signed-off-by: Oliver Neukum <oneukum@suse.com>
CC: stable@kernel.org
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c