summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_run.c
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2009-01-26 19:18:52 +0000
committerdamien <damien@openbsd.org>2009-01-26 19:18:52 +0000
commitb9864d55e4aa7a40045c05f12387ea4f64a7d64c (patch)
tree53e978735c1d480b02e733f526569065f1d46ae9 /sys/dev/usb/if_run.c
parentAdd some initial HT bits (not enabled yet) based on 802.11n Draft 7.01: (diff)
downloadwireguard-openbsd-b9864d55e4aa7a40045c05f12387ea4f64a7d64c.tar.xz
wireguard-openbsd-b9864d55e4aa7a40045c05f12387ea4f64a7d64c.zip
I changed the IEEE80211_QOS_ACK_POLICY_* definitions to be more in line
with other net80211 flags (we no longer need to shift.)
Diffstat (limited to 'sys/dev/usb/if_run.c')
-rw-r--r--sys/dev/usb/if_run.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/usb/if_run.c b/sys/dev/usb/if_run.c
index d13bc3764e3..5e37db62208 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.5 2009/01/07 11:12:27 jsg Exp $ */
+/* $OpenBSD: if_run.c,v 1.6 2009/01/26 19:18:52 damien Exp $ */
/*-
* Copyright (c) 2008,2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -1990,8 +1990,7 @@ run_tx(struct run_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
txwi->txop = RT2860_TX_TXOP_BACKOFF;
if (!IEEE80211_IS_MULTICAST(wh->i_addr1) &&
- (!hasqos || (qos & IEEE80211_QOS_ACK_POLICY_MASK) >>
- IEEE80211_QOS_ACK_POLICY_SHIFT !=
+ (!hasqos || (qos & IEEE80211_QOS_ACK_POLICY_MASK) !=
IEEE80211_QOS_ACK_POLICY_NOACK)) {
txwi->xflags |= RT2860_TX_ACK;
if (ic->ic_flags & IEEE80211_F_SHPREAMBLE)