summaryrefslogtreecommitdiffstats
path: root/sys/dev/ral/rt2661.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-05-11 22:11:01 +0000
committersam <sam@FreeBSD.org>2008-05-11 22:11:01 +0000
commitc77c17c6be177bf3c1feabfb54e8bd70f8472bb6 (patch)
treed375819057a11f06d748f616a9e6e8c53dfeb333 /sys/dev/ral/rt2661.c
parent9fed63a445096a42d6dc9346c16c798c73682917 (diff)
downloadFreeBSD-src-c77c17c6be177bf3c1feabfb54e8bd70f8472bb6.zip
FreeBSD-src-c77c17c6be177bf3c1feabfb54e8bd70f8472bb6.tar.gz
fix typo's that broke duration calculation on protection frames
Diffstat (limited to 'sys/dev/ral/rt2661.c')
-rw-r--r--sys/dev/ral/rt2661.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ral/rt2661.c b/sys/dev/ral/rt2661.c
index a197f4d..0bf2bc7 100644
--- a/sys/dev/ral/rt2661.c
+++ b/sys/dev/ral/rt2661.c
@@ -1420,7 +1420,7 @@ rt2661_sendprot(struct rt2661_softc *sc, int ac,
ackrate = ieee80211_ack_rate(sc->sc_rates, rate);
isshort = (ic->ic_flags & IEEE80211_F_SHPREAMBLE) != 0;
- dur = ieee80211_compute_duration(sc->sc_rates, pktlen, rate, isshort);
+ dur = ieee80211_compute_duration(sc->sc_rates, pktlen, rate, isshort)
+ ieee80211_ack_duration(sc->sc_rates, rate, isshort);
flags = RT2661_TX_MORE_FRAG;
if (prot == IEEE80211_PROT_RTSCTS) {
OpenPOWER on IntegriCloud