[ath] fix short-GI wireshark flag.

Yes, HAL_RX_GI means "short guard interval."
This commit is contained in:
Adrian Chadd 2017-05-26 00:48:21 +00:00
parent d7b654747f
commit 7b6899bf2a

View File

@ -593,7 +593,8 @@ ath_rx_tap(struct ath_softc *sc, struct mbuf *m,
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;
}