mirror of
https://github.com/opnsense/src.git
synced 2026-04-20 21:59:20 -04:00
[ath] fix short-GI wireshark flag.
Yes, HAL_RX_GI means "short guard interval."
This commit is contained in:
parent
d7b654747f
commit
7b6899bf2a
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue