diff options
author | jkim <jkim@FreeBSD.org> | 2010-06-14 23:01:50 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-06-14 23:01:50 +0000 |
commit | 68656772c260aff5f715d68e3e7bb71d95983061 (patch) | |
tree | 2544cda29f6a1a1e793a840817fcf00dd269b36f /sys/dev/usb/wlan/if_run.c | |
parent | 56a01a64f1940770768f464f618634eebc392fdf (diff) | |
download | FreeBSD-src-68656772c260aff5f715d68e3e7bb71d95983061.zip FreeBSD-src-68656772c260aff5f715d68e3e7bb71d95983061.tar.gz |
Fix typos that broke duration calculations on protection frames. A similar
fix was done for ral(4) long ago and it must be copy-and-paste bugs.
Found by: clang
Diffstat (limited to 'sys/dev/usb/wlan/if_run.c')
-rw-r--r-- | sys/dev/usb/wlan/if_run.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index ca5c2b6..eff65db 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -3179,7 +3179,7 @@ run_sendprot(struct run_softc *sc, ackrate = ieee80211_ack_rate(ic->ic_rt, rate); isshort = (ic->ic_flags & IEEE80211_F_SHPREAMBLE) != 0; - dur = ieee80211_compute_duration(ic->ic_rt, pktlen, rate, isshort); + dur = ieee80211_compute_duration(ic->ic_rt, pktlen, rate, isshort) + ieee80211_ack_duration(ic->ic_rt, rate, isshort); wflags = RT2860_TX_FRAG; |