[media] dvb_usb_v2: fix dvb_usb_generic_rw() debug

Debug prints write operation data instead of read data was
intention.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Antti Palosaari 2012-06-07 18:37:42 -03:00 committed by Mauro Carvalho Chehab
parent 65de8f978f
commit 36a5c2bded

View File

@ -55,7 +55,8 @@ int dvb_usbv2_generic_rw(struct dvb_usb_device *d, u8 *wbuf, u16 wlen, u8 *rbuf,
KBUILD_MODNAME, ret);
else
print_hex_dump(KERN_DEBUG, KBUILD_MODNAME ": <<< ",
DUMP_PREFIX_NONE, 32, 1, wbuf, wlen, 0);
DUMP_PREFIX_NONE, 32, 1, rbuf, actlen,
0);
}
mutex_unlock(&d->usb_mutex);