]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "wifi: iwlegacy: do not skip frames with bad FCS"
authorKalle Valo <kvalo@kernel.org>
Tue, 12 Nov 2024 14:24:19 +0000 (16:24 +0200)
committerKalle Valo <kvalo@kernel.org>
Tue, 12 Nov 2024 18:24:45 +0000 (20:24 +0200)
commit11597043d74809daf5d14256b96d6781749b3f82
treeb281c17ae2d10a6ab331cb5edf6011ad2484036c
parentf2aadc721274a4b27d3dfe8244e73fbdc8c17715
Revert "wifi: iwlegacy: do not skip frames with bad FCS"

This reverts commit 02b682d54598f61cbb7dbb14d98ec1801112b878.

Alf reports that this commit causes the connection to eventually die on
iwl4965. The reason is that rx_status.flag is zeroed after
RX_FLAG_FAILED_FCS_CRC is set and mac80211 doesn't know the received frame is
corrupted.

Fixes: 02b682d54598 ("wifi: iwlegacy: do not skip frames with bad FCS")
Reported-by: Alf Marius <post@alfmarius.net>
Closes: https://lore.kernel.org/r/60f752e8-787e-44a8-92ae-48bdfc9b43e7@app.fastmail.com/
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241112142419.1023743-1-kvalo@kernel.org
drivers/net/wireless/intel/iwlegacy/3945.c
drivers/net/wireless/intel/iwlegacy/4965-mac.c