diff options
author | Patrick Boettcher <devnull@localhost> | 2005-05-10 07:08:09 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-05-10 07:08:09 +0000 |
commit | 77c73bb0131046ee6b2d33e8bb701f732919b6da (patch) | |
tree | 326583f16f4755b07a24264957fc4b42da32f381 /linux/drivers/media | |
parent | 7b434a3aea6c8c44078ebb02c72878fe11f2f27f (diff) | |
download | mediapointer-dvb-s2-77c73bb0131046ee6b2d33e8bb701f732919b6da.tar.gz mediapointer-dvb-s2-77c73bb0131046ee6b2d33e8bb701f732919b6da.tar.bz2 |
error checking when doing init was wrong (== 0 was missing).
Thanks to Gerolf Wendland for discovering.
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dibusb-mb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c b/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c index c18ab031c..8ee0a7298 100644 --- a/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c +++ b/linux/drivers/media/dvb/dvb-usb/dibusb-mb.c @@ -81,7 +81,7 @@ static int dibusb_probe(struct usb_interface *intf, const struct usb_device_id *id) { if (dvb_usb_device_init(intf,&dibusb1_1_properties,THIS_MODULE) == 0 || - dvb_usb_device_init(intf,&dibusb1_1_an2235_properties,THIS_MODULE) || + dvb_usb_device_init(intf,&dibusb1_1_an2235_properties,THIS_MODULE) == 0 || dvb_usb_device_init(intf,&dibusb2_0b_properties,THIS_MODULE) == 0) return 0; |