Fix FCS on 8811

Issue also exist on 8811cu as described and fixed for 8812au at
https://github.com/aircrack-ng/rtl8812au/issues/28
This commit is contained in:
Paul B
2020-01-14 08:31:07 +02:00
parent 8d20f83180
commit 9cd07d6b07
2 changed files with 12 additions and 2 deletions

View File

@@ -38,7 +38,8 @@ static u8 recvbuf2recvframe_proccess_normal_rx
#ifdef CONFIG_RX_PACKET_APPEND_FCS
if (check_fwstate(&padapter->mlmepriv, WIFI_MONITOR_STATE) == _FALSE) {
if (rtl8821c_rx_fcs_appended(padapter))
//if (rtl8821c_rx_fcs_appended(padapter))
if ((pattrib->pkt_rpt_type == NORMAL_RX) && (pHalData->ReceiveConfig & RCR_APPFCS))
pattrib->pkt_len -= IEEE80211_FCS_LEN;
}
#endif