diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-10-18 19:59:38 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2017-10-18 19:59:38 +0000 |
commit | f5ca989a480f6f133a7a66ee09f5713842ee467e (patch) | |
tree | b8e37ff24d3475dd30be1280d3f4a440d0bb9734 /sys/dev/ic/bwfmvar.h | |
parent | c0bec954d9847e2af3c95e2560a9fa69b639883c (diff) |
Add a scan timeout so we can recover if the firmware decides not to
send us any answers to our request.
Diffstat (limited to 'sys/dev/ic/bwfmvar.h')
-rw-r--r-- | sys/dev/ic/bwfmvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/bwfmvar.h b/sys/dev/ic/bwfmvar.h index 88b608fb7d1..00970ff9978 100644 --- a/sys/dev/ic/bwfmvar.h +++ b/sys/dev/ic/bwfmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bwfmvar.h,v 1.1 2017/10/11 17:19:50 patrick Exp $ */ +/* $OpenBSD: bwfmvar.h,v 1.2 2017/10/18 19:59:37 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se> @@ -119,6 +119,7 @@ struct bwfm_softc { #define BWFM_IO_TYPE_D11AC 2 int sc_tx_timer; + struct timeout sc_scan_timeout; }; void bwfm_attach(struct bwfm_softc *); |