From 751e2463c7bb12819946af77cc4e2f7dbcbfbfee Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Mon, 26 Jan 2009 19:18:53 +0000 Subject: I changed the IEEE80211_QOS_ACK_POLICY_* definitions to be more in line with other net80211 flags (we no longer need to shift.) --- sys/dev/ic/rt2860.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/ic/rt2860.c') 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; -- cgit v1.2.3