diff options
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/digitv.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/digitv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/digitv.c b/linux/drivers/media/dvb/dvb-usb/digitv.c index 1457675ed..4bb79ec22 100644 --- a/linux/drivers/media/dvb/dvb-usb/digitv.c +++ b/linux/drivers/media/dvb/dvb-usb/digitv.c @@ -33,7 +33,7 @@ static int digitv_ctrl_msg(struct dvb_usb_device *d, sndbuf[1] = vv; sndbuf[2] = wo ? wlen : rlen; - if (!wo) { + if (wo) { memcpy(&sndbuf[3],wbuf,wlen); dvb_usb_generic_write(d,sndbuf,7); } else { @@ -244,7 +244,7 @@ static struct dvb_usb_properties digitv_properties = { .type = DVB_USB_BULK, .count = 7, .endpoint = 0x02, - .u { + .u = { .bulk = { .buffersize = 4096, } |