Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2017 00:48:21 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318911 - head/sys/dev/ath
Message-ID:  <201705260048.v4Q0mLTL013149@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705260048.v4Q0mLTL013149>