aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/misc/usbtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c
index ea3162146481..81755d06a419 100644
--- a/drivers/usb/misc/usbtest.c
+++ b/drivers/usb/misc/usbtest.c
@@ -1151,6 +1151,7 @@ static int verify_halted (int ep, struct urb *urb)
1151 dbg ("ep %02x couldn't get halt status, %d", ep, retval); 1151 dbg ("ep %02x couldn't get halt status, %d", ep, retval);
1152 return retval; 1152 return retval;
1153 } 1153 }
1154 le16_to_cpus(&status);
1154 if (status != 1) { 1155 if (status != 1) {
1155 dbg ("ep %02x bogus status: %04x != 1", ep, status); 1156 dbg ("ep %02x bogus status: %04x != 1", ep, status);
1156 return -EINVAL; 1157 return -EINVAL;