summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;