summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index ec9b1bd..122bc24 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -960,7 +960,7 @@ pcic_reset(void *chan)
printf("int is %x stat is %x\n",
sp->getb(sp, PCIC_INT_GEN),
sp->getb(sp, PCIC_STATUS));
- if (!sp->getb(sp, PCIC_STATUS) & PCIC_READY) {
+ if ((sp->getb(sp, PCIC_STATUS) & PCIC_READY) == 0) {
timeout(pcic_reset, (void *)slt, hz/10);
return;
}
OpenPOWER on IntegriCloud