summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_upgt.c
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-01-24 22:35:09 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-01-24 22:35:09 +0000
commit07988943d0f245ed2b2d547f8246d77d0f92ebcd (patch)
tree9236447e2602f63c1b066373ea83a8a5ae3f925b /sys/dev/usb/if_upgt.c
parentc142705ae969670aaf44dbbd65f6dbc5b126b695 (diff)
Fix some comments.
Diffstat (limited to 'sys/dev/usb/if_upgt.c')
-rw-r--r--sys/dev/usb/if_upgt.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/usb/if_upgt.c b/sys/dev/usb/if_upgt.c
index 068eec49b8d..66a74404f65 100644
--- a/sys/dev/usb/if_upgt.c
+++ b/sys/dev/usb/if_upgt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upgt.c,v 1.29 2008/01/24 21:44:32 mglocker Exp $ */
+/* $OpenBSD: if_upgt.c,v 1.30 2008/01/24 22:35:08 mglocker Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -230,11 +230,12 @@ upgt_attach(struct device *parent, struct device *self, void *aux)
sc->sc_rx_no = ed->bEndpointAddress;
/*
- * XXX Just get the version 2 bulk pipes for now.
* 0x01 TX pipe
* 0x81 RX pipe
- * 0x02 TX MGMT pipe (not used with fw version >2.5.x)
- * 0x82 TX MGMT pipe (not used with fw version >2.5.x)
+ *
+ * Deprecated scheme (not used with fw version >2.5.6.x):
+ * 0x02 TX MGMT pipe
+ * 0x82 TX MGMT pipe
*/
if (sc->sc_tx_no != -1 && sc->sc_rx_no != -1)
break;
@@ -1535,7 +1536,7 @@ upgt_tx_task(void *arg)
struct upgt_tx_radiotap_header *tap = &sc->sc_txtap;
tap->wt_flags = 0;
- tap->wt_rate = 0;
+ tap->wt_rate = 0; /* TODO: where to get? */
tap->wt_chan_freq =
htole16(ic->ic_bss->ni_chan->ic_freq);
tap->wt_chan_flags =