diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2004-12-05 12:26:00 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2004-12-05 12:26:00 +0000 |
commit | 9d45bdb773f34e8300dd2a5b58fa35819cf8b3a6 (patch) | |
tree | b9027e68b62540a18b99d24c0ec30610b0bfc44e /sys/dev/usb/if_atureg.h | |
parent | 642d50184ea693d04f4a7316e1b0e4b56513583d (diff) |
do a scan for networks when net80211 thinks we should rather than doing it
only when we bring the interface up.
Diffstat (limited to 'sys/dev/usb/if_atureg.h')
-rw-r--r-- | sys/dev/usb/if_atureg.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/usb/if_atureg.h b/sys/dev/usb/if_atureg.h index ce2b5c8fcca..5d675fe8d1b 100644 --- a/sys/dev/usb/if_atureg.h +++ b/sys/dev/usb/if_atureg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_atureg.h,v 1.14 2004/12/05 01:51:20 dlg Exp $ */ +/* $OpenBSD: if_atureg.h,v 1.15 2004/12/05 12:25:59 dlg Exp $ */ /* * Copyright (c) 2003 * Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved. @@ -32,7 +32,7 @@ * */ -/* $ATUWI: $Id: if_atureg.h,v 1.14 2004/12/05 01:51:20 dlg Exp $ */ +/* $ATUWI: $Id: if_atureg.h,v 1.15 2004/12/05 12:25:59 dlg Exp $ */ /************ driver options ************/ @@ -258,6 +258,12 @@ struct atu_softc { int (*sc_newstate)(struct ieee80211com *, enum ieee80211_state, int); + int sc_cmd; +#define ATU_C_NONE 0 +#define ATU_C_SCAN 1 +#define ATU_C_JOIN 2 + struct usb_task sc_task; + usbd_device_handle atu_udev; usbd_interface_handle atu_iface; struct ifmedia atu_media; |