mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 23:54:24 +00:00
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:
parent
8e1deedde6
commit
f6dc0ef900
@ -3608,7 +3608,7 @@ static sint fill_radiotap_hdr(_adapter *padapter, union recv_frame *precvframe)
|
|||||||
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_FRAG;
|
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_FRAG;
|
||||||
|
|
||||||
/* always append FCS */
|
/* always append FCS */
|
||||||
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_FCS;
|
/* hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_FCS; */
|
||||||
|
|
||||||
if (0)
|
if (0)
|
||||||
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_DATAPAD;
|
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_DATAPAD;
|
||||||
|
Loading…
Reference in New Issue
Block a user