diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-03-09 20:36:17 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-03-09 20:36:17 +0000 |
commit | 2ed5df380ecb6c6da11790afd11cd1be124e4091 (patch) | |
tree | 73967ff9f9ef9c98e711eee0ae5dbf354d650072 /sys/dev/ic/rtwnvar.h | |
parent | 9ef0fb42c67aae46f4bbc96a1d995dd28dd8471d (diff) |
Make rtwn(4) check for "unsupported test chip" error during attach again.
ok mpi@
Diffstat (limited to 'sys/dev/ic/rtwnvar.h')
-rw-r--r-- | sys/dev/ic/rtwnvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtwnvar.h b/sys/dev/ic/rtwnvar.h index 07b8e1c04f5..c17e4e2998a 100644 --- a/sys/dev/ic/rtwnvar.h +++ b/sys/dev/ic/rtwnvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtwnvar.h,v 1.1 2016/03/09 18:18:28 stsp Exp $ */ +/* $OpenBSD: rtwnvar.h,v 1.2 2016/03/09 20:36:16 stsp Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -76,7 +76,7 @@ struct rtwn_softc { uint32_t rf_chnlbw[R92C_MAX_CHAINS]; }; -void rtwn_attach(struct device *, struct rtwn_softc *); +int rtwn_attach(struct device *, struct rtwn_softc *); int rtwn_detach(struct rtwn_softc *, int); int rtwn_activate(struct rtwn_softc *, int); int8_t rtwn_get_rssi(struct rtwn_softc *, int, void *); |