summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2009-01-26 19:18:53 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2009-01-26 19:18:53 +0000
commit751e2463c7bb12819946af77cc4e2f7dbcbfbfee (patch)
tree37184f4ba3d9f4be15856cc517df7fad47bd217d /sys/dev/usb
parentf5bde2a8b2c137a3c51797048f76f625179c249b (diff)
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')
-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)