usb-storage: move status debug message to usb_msd_send_status.
commite04da7c3d15d746be86898b4ce059b365d61dbc3
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 21 Nov 2011 10:17:59 +0000 (21 11:17 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 21 Nov 2011 13:07:56 +0000 (21 14:07 +0100)
tree43ec86310dfb10c55b368ecf6c19587c6a078b26
parentbc4268998d154b9b3cc86a7b6bd932cc974591c9
usb-storage: move status debug message to usb_msd_send_status.

usb_msd_send_status can be called from different code paths, move the
debug message into the function to make sure it is printed
unconditionally.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-msd.c