summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_atu.c6
-rw-r--r--sys/dev/usb/if_atureg.h9
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;