usb: misc: usbtest: format max packet size for iso transfer
authorPeter Chen <peter.chen@freescale.com>
Mon, 17 Aug 2015 08:36:53 +0000 (16:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2015 17:05:23 +0000 (10:05 -0700)
commita0c9d0defcdadd31ab111b1616f60cf919c6a020
tree00fff62355feb8ea2dfb0f23f88eca49850121c8
parent0521cfd06e1ebcd575e7ae36aab068b38df23850
usb: misc: usbtest: format max packet size for iso transfer

The current code prints all wMaxPacketSize content at endpoint
descriptor, if there is a high speed, high bandwidth endpoint,
it may confuse the users, eg, if there are 3 transactions during
microframe, it will print "wMaxPacket 1400" for packet content.
This commit splits wMaxpacketSize and transaction numbers for
output messages.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usbtest.c