aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-01-19 01:26:44 +0000
committerWarner Losh <imp@FreeBSD.org>2005-01-19 01:26:44 +0000
commitc3bd3b5978908b8311a8bd1d2e72fe5519332203 (patch)
tree4c1cf24b7aa578f6245fc4b83e4bc52dcd0b5bc4 /sys/dev
parent1f6c8bc54bab65034b9adaa133b16c6f886e3052 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/wi/if_wi_pccard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c
index 75355a233613..5c7b59349912 100644
--- a/sys/dev/wi/if_wi_pccard.c
+++ b/sys/dev/wi/if_wi_pccard.c
@@ -197,12 +197,12 @@ wi_pccard_probe(dev)
if (error)
return (error);
- wi_free(dev);
-
/* Make sure interrupts are disabled. */
CSR_WRITE_2(sc, WI_INT_EN, 0);
CSR_WRITE_2(sc, WI_EVENT_ACK, 0xFFFF);
+ wi_free(dev);
+
return (0);
}