aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/bluetooth/dtl1_cs.c2
1 files changed, 1 insertions, 1 deletions
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)
618 618
619 /* Look for a generic full-sized window */ 619 /* Look for a generic full-sized window */
620 link->io.NumPorts1 = 8; 620 link->io.NumPorts1 = 8;
621 if (!pcmcia_loop_config(link, dtl1_confcheck, NULL)) 621 if (pcmcia_loop_config(link, dtl1_confcheck, NULL) < 0)
622 goto failed; 622 goto failed;
623 623
624 i = pcmcia_request_irq(link, &link->irq); 624 i = pcmcia_request_irq(link, &link->irq);