summaryrefslogtreecommitdiff
path: root/sys/dev/wi
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2009-06-11 17:14:28 +0000
committerAndriy Gapon <avg@FreeBSD.org>2009-06-11 17:14:28 +0000
commitc0e55e3b65ffb5b5aa0f4c0f76f4ed62c6d25993 (patch)
tree99454c55202dfe1adf0ecef7f0dcf12ee4d6f372 /sys/dev/wi
parent385a7316b4ce10be1acd7ec1855a384c6d4d6b4b (diff)
Notes
Diffstat (limited to 'sys/dev/wi')
-rw-r--r--sys/dev/wi/if_wi.c3
-rw-r--r--sys/dev/wi/if_wivar.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 745d68e4d827..d9d1286ac2b3 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -571,12 +571,13 @@ wi_vap_delete(struct ieee80211vap *vap)
free(wvp, M_80211_VAP);
}
-void
+int
wi_shutdown(device_t dev)
{
struct wi_softc *sc = device_get_softc(dev);
wi_stop(sc, 1);
+ return (0);
}
void
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h
index fd622bd754f2..99b866daf10f 100644
--- a/sys/dev/wi/if_wivar.h
+++ b/sys/dev/wi/if_wivar.h
@@ -176,7 +176,7 @@ struct wi_card_ident {
int wi_attach(device_t);
int wi_detach(device_t);
-void wi_shutdown(device_t);
+int wi_shutdown(device_t);
int wi_alloc(device_t, int);
void wi_free(device_t);
extern devclass_t wi_devclass;