diff options
Diffstat (limited to 'drivers/net/wireless/atmel_cs.c')
-rw-r--r-- | drivers/net/wireless/atmel_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/atmel_cs.c b/drivers/net/wireless/atmel_cs.c index 962272c1342a..d09b1472e673 100644 --- a/drivers/net/wireless/atmel_cs.c +++ b/drivers/net/wireless/atmel_cs.c | |||
@@ -220,7 +220,7 @@ do { last_fn = (fn); if ((last_ret = (ret)) != 0) goto cs_failed; } while (0) | |||
220 | static int card_present(void *arg) | 220 | static int card_present(void *arg) |
221 | { | 221 | { |
222 | struct pcmcia_device *link = (struct pcmcia_device *)arg; | 222 | struct pcmcia_device *link = (struct pcmcia_device *)arg; |
223 | if (link->state & DEV_SUSPEND) | 223 | if (link->suspended) |
224 | return 0; | 224 | return 0; |
225 | else if (link->state & DEV_PRESENT) | 225 | else if (link->state & DEV_PRESENT) |
226 | return 1; | 226 | return 1; |