diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2009-01-26 19:18:53 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2009-01-26 19:18:53 +0000 |
commit | 751e2463c7bb12819946af77cc4e2f7dbcbfbfee (patch) | |
tree | 37184f4ba3d9f4be15856cc517df7fad47bd217d /sys/dev/ic/rt2860.c | |
parent | f5bde2a8b2c137a3c51797048f76f625179c249b (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/ic/rt2860.c')
-rw-r--r-- | sys/dev/ic/rt2860.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c index 56b1c9642b6..9ab4a655e34 100644 --- a/sys/dev/ic/rt2860.c +++ b/sys/dev/ic/rt2860.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2860.c,v 1.31 2008/12/29 13:59:00 damien Exp $ */ +/* $OpenBSD: rt2860.c,v 1.32 2009/01/26 19:18:52 damien Exp $ */ /*- * Copyright (c) 2007, 2008 @@ -1440,8 +1440,7 @@ rt2860_tx(struct rt2860_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; |