diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-10-11 07:05:30 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-10-11 07:05:30 +0000 |
commit | 2c6107d34aed130366c0a69c68788c258acdf248 (patch) | |
tree | 4313b2052f826ce49cc5daf72541a3c860efa502 /sys/dev/usb | |
parent | 8ffd9bd0b4dcade9f006648b9fbfdd29919be12e (diff) |
Stop exporting `wt_hwqueue' now that drivers don't advertise it.
Pointed by and ok jsg@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_run.c | 3 | ||||
-rw-r--r-- | sys/dev/usb/if_runvar.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c index 122113f60a7..88f43df30dc 100644 --- a/sys/dev/usb/if_run.c +++ b/sys/dev/usb/if_run.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_run.c,v 1.130 2020/07/31 10:49:32 mglocker Exp $ */ +/* $OpenBSD: if_run.c,v 1.131 2020/10/11 07:05:29 mpi Exp $ */ /*- * Copyright (c) 2008-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -2485,7 +2485,6 @@ run_tx(struct run_softc *sc, struct mbuf *m, struct ieee80211_node *ni) tap->wt_rate = rt2860_rates[ridx].rate; tap->wt_chan_freq = htole16(ic->ic_bss->ni_chan->ic_freq); tap->wt_chan_flags = htole16(ic->ic_bss->ni_chan->ic_flags); - tap->wt_hwqueue = qid; if (mcs & RT2860_PHY_SHPRE) tap->wt_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; diff --git a/sys/dev/usb/if_runvar.h b/sys/dev/usb/if_runvar.h index 83b7d34cabf..755f0eb2df9 100644 --- a/sys/dev/usb/if_runvar.h +++ b/sys/dev/usb/if_runvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_runvar.h,v 1.11 2020/10/09 08:53:16 mpi Exp $ */ +/* $OpenBSD: if_runvar.h,v 1.12 2020/10/11 07:05:29 mpi Exp $ */ /*- * Copyright (c) 2008,2009 Damien Bergamini <damien.bergamini@free.fr> @@ -64,7 +64,6 @@ struct run_tx_radiotap_header { uint8_t wt_rate; uint16_t wt_chan_freq; uint16_t wt_chan_flags; - uint8_t wt_hwqueue; } __packed; #define RUN_TX_RADIOTAP_PRESENT \ |