diff --git a/sys/net80211/ieee80211_radiotap.c b/sys/net80211/ieee80211_radiotap.c index b39a0713aad..8c69684b175 100644 --- a/sys/net80211/ieee80211_radiotap.c +++ b/sys/net80211/ieee80211_radiotap.c @@ -153,17 +153,17 @@ ieee80211_radiotap_chan_change(struct ieee80211com *ic) if (ic->ic_rxchan != NULL) { struct ieee80211_radiotap_header *rh = ic->ic_rh; - if (rh->it_present & (1<it_present & htole32(1<ic_rxchan, ic->ic_curchan); - else if (rh->it_present & (1<it_present & htole32(1<ic_rxchan, ic->ic_curchan); } if (ic->ic_txchan != NULL) { struct ieee80211_radiotap_header *th = ic->ic_th; - if (th->it_present & (1<it_present & htole32(1<ic_txchan, ic->ic_curchan); - else if (th->it_present & (1<it_present & htole32(1<ic_txchan, ic->ic_curchan); } }