summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wpi.c
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/pci/if_wpi.c
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/pci/if_wpi.c')
-rw-r--r--sys/dev/pci/if_wpi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index 5e0f5ad7963..bf4a7fe9c75 100644
--- a/sys/dev/pci/if_wpi.c
+++ b/sys/dev/pci/if_wpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpi.c,v 1.81 2009/01/03 10:11:55 damien Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.82 2009/01/26 19:18:52 damien Exp $ */
/*-
* Copyright (c) 2006-2008
@@ -1779,8 +1779,7 @@ wpi_tx(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
flags = 0;
if (!IEEE80211_IS_MULTICAST(wh->i_addr1)) {
/* Unicast frame, check if an ACK is expected. */
- if (!hasqos || (qos & IEEE80211_QOS_ACK_POLICY_MASK) >>
- IEEE80211_QOS_ACK_POLICY_SHIFT !=
+ if (!hasqos || (qos & IEEE80211_QOS_ACK_POLICY_MASK) !=
IEEE80211_QOS_ACK_POLICY_NOACK)
flags |= WPI_TX_NEED_ACK;
}