X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=drivers%2Fbluetooth%2Fdtl1_cs.c;h=b881a9cd8741d78cb3c24adfb3f868cb604c294d;hb=ab86e5765d41a5eb4239a1c04d613db87bea5ed8;hp=2cc7b3266eaf6bd423d2f7af2cab55ef9b4bd31e;hpb=385861206c21364c01dcfdda5064643ce111d517;p=cascardo%2Flinux.git diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c index 2cc7b3266eaf..b881a9cd8741 100644 --- a/drivers/bluetooth/dtl1_cs.c +++ b/drivers/bluetooth/dtl1_cs.c @@ -618,7 +618,7 @@ static int dtl1_config(struct pcmcia_device *link) /* Look for a generic full-sized window */ link->io.NumPorts1 = 8; - if (!pcmcia_loop_config(link, dtl1_confcheck, NULL)) + if (pcmcia_loop_config(link, dtl1_confcheck, NULL) < 0) goto failed; i = pcmcia_request_irq(link, &link->irq);