Skip to content

Commit

Permalink
FCS bit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
morrownr committed Dec 28, 2020
1 parent 5e8be2f commit 0c094b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/rtw_recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -3922,8 +3922,12 @@ 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;

#ifdef CONFIG_RX_PACKET_APPEND_FCS
if (rtw_hal_rcr_check(padapter, BIT_APP_FCS_8821C))
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_FCS;
#endif

if (0)
hdr_buf[rt_len] |= IEEE80211_RADIOTAP_F_DATAPAD;
Expand Down

0 comments on commit 0c094b2

Please sign in to comment.