diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2004-12-08 21:04:45 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2004-12-08 21:04:45 +0000 |
commit | 35a68b19e5410b94d9d1921e3d870197046d4e84 (patch) | |
tree | 31539356cba0028c9eed0a4742c1ac86a8f3aa5b /sys/dev | |
parent | 4daa9b0add2ec41220e3d40c851908dac01f3930 (diff) |
remove the variables that used to make up the signal cache. nothing in atu
is using this now.
from daan vreeken
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/if_atu.c | 6 | ||||
-rw-r--r-- | sys/dev/usb/if_atureg.h | 9 |
2 files changed, 3 insertions, 12 deletions
diff --git a/sys/dev/usb/if_atu.c b/sys/dev/usb/if_atu.c index 55271d06bf2..638134a69be 100644 --- a/sys/dev/usb/if_atu.c +++ b/sys/dev/usb/if_atu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_atu.c,v 1.40 2004/12/06 11:33:30 dlg Exp $ */ +/* $OpenBSD: if_atu.c,v 1.41 2004/12/08 21:04:44 dlg Exp $ */ /* * Copyright (c) 2003, 2004 * Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved. @@ -1351,10 +1351,6 @@ USB_ATTACH(atu) printf("%s: address %s\n", USBDEVNAME(sc->atu_dev), ether_sprintf(ic->ic_myaddr)); - for (i=0; i<ATU_AVG_TIME; i++) - sc->atu_signalarr[i] = 0; - sc->atu_signaltotal = 0; - sc->atu_signalptr = 0; sc->atu_cdata.atu_tx_inuse = 0; sc->atu_encrypt = ATU_WEP_OFF; sc->atu_wepkeylen = ATU_WEP_104BITS; diff --git a/sys/dev/usb/if_atureg.h b/sys/dev/usb/if_atureg.h index 80f88587cb7..fae62aed5b0 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.16 2004/12/08 21:01:33 dlg Exp $ */ +/* $OpenBSD: if_atureg.h,v 1.17 2004/12/08 21:04:44 dlg Exp $ */ /* * Copyright (c) 2003 * Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved. @@ -32,7 +32,7 @@ * */ -/* $ATUWI: $Id: if_atureg.h,v 1.16 2004/12/08 21:01:33 dlg Exp $ */ +/* $ATUWI: $Id: if_atureg.h,v 1.17 2004/12/08 21:04:44 dlg Exp $ */ /************ driver options ************/ @@ -278,11 +278,6 @@ struct atu_softc { enum atu_radio_type atu_radio; u_int16_t atu_quirk; - /* used for debug : FLAG_SIGNAL */ - u_int8_t atu_signalarr[ATU_AVG_TIME]; - u_int8_t atu_signalptr; - u_int16_t atu_signaltotal; - u_int8_t atu_ssid[MAX_SSID_LEN]; u_int8_t atu_ssidlen; u_int8_t atu_channel; |