svn commit: r318911 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Fri May 26 00:48:23 UTC 2017
Author: adrian
Date: Fri May 26 00:48:21 2017
New Revision: 318911
URL: https://svnweb.freebsd.org/changeset/base/318911
Log:
[ath] fix short-GI wireshark flag.
Yes, HAL_RX_GI means "short guard interval."
Modified:
head/sys/dev/ath/if_ath_rx.c
Modified: head/sys/dev/ath/if_ath_rx.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx.c Fri May 26 00:26:08 2017 (r318910)
+++ head/sys/dev/ath/if_ath_rx.c Fri May 26 00:48:21 2017 (r318911)
@@ -593,7 +593,8 @@ ath_rx_tap(struct ath_softc *sc, struct
sc->sc_rx_th.wr_chan_flags |= CHAN_HT40U;
else
sc->sc_rx_th.wr_chan_flags |= CHAN_HT40D;
- if ((rs->rs_flags & HAL_RX_GI) == 0)
+
+ if (rs->rs_flags & HAL_RX_GI)
sc->sc_rx_th.wr_flags |= IEEE80211_RADIOTAP_F_SHORTGI;
}
More information about the svn-src-head
mailing list