Radiotap FCS flag fix

* The driver marks all frames as containing the Frame Check Sequence at the end. This confuses Wireshark because the FCS field is stripped before the frame is released on the monitor interface.
This commit is contained in:
Christian B 2018-01-20 16:33:05 +01:00 committed by GitHub
parent 8e1deedde6
commit f6dc0ef900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3608,7 +3608,7 @@ static sint fill_radiotap_hdr(_adapter *padapter, union recv_frame *precvframe)
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_FRAG;
/* always append FCS */
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_FCS;
/* hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_FCS; */
if (0)
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_DATAPAD;