summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-10-15 00:23:37 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-10-15 00:23:37 +0000
commit7f15882fd013ff5d046ae6f083ad7b86890ade8c (patch)
tree14dd2a89b08c6abb5053ea21b18b11e4951b707e /sys/dev
parent5aa583b9bfc38194cc9e4000d98d221a183b114b (diff)
remove `workaround' for supported data rates now that core is fixed.
ifconfig -m shows the correct rates now. tested by joris@, deraadt@ go ahead.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_wi_usb.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/usb/if_wi_usb.c b/sys/dev/usb/if_wi_usb.c
index 7530af86dec..f8739d98da1 100644
--- a/sys/dev/usb/if_wi_usb.c
+++ b/sys/dev/usb/if_wi_usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_usb.c,v 1.19 2005/08/01 05:36:48 brad Exp $ */
+/* $OpenBSD: if_wi_usb.c,v 1.20 2005/10/15 00:23:36 fgsch Exp $ */
/*
* Copyright (c) 2003 Dale Rahn. All rights reserved.
@@ -1593,10 +1593,6 @@ wi_usb_rridresp(struct wi_usb_chain *c)
return;
}
- /* XXX */
- if (rid == WI_RID_DATA_RATES)
- frmlen = 2;
-
if (frmlen > ltv->wi_len) {
sc->ridresperr = ENOSPC;
sc->ridltv = 0;