[ath] fix short-GI wireshark flag.
Yes, HAL_RX_GI means "short guard interval."
This commit is contained in:
parent
d7b654747f
commit
7b6899bf2a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user