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