|
@@ -242,7 +242,7 @@ spectrum_reset(struct pcmcia_device *link, int idle)
|
|
u_int save_cor;
|
|
u_int save_cor;
|
|
|
|
|
|
/* Doing it if hardware is gone is guaranteed crash */
|
|
/* Doing it if hardware is gone is guaranteed crash */
|
|
- if (pcmcia_dev_present(link))
|
|
|
|
|
|
+ if (!pcmcia_dev_present(link))
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
|
|
|
|
/* Save original COR value */
|
|
/* Save original COR value */
|