]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
wil6210: fix RX checksum report to network stack
authorMaya Erez <merez@codeaurora.org>
Tue, 24 Jul 2018 07:44:26 +0000 (10:44 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 08:00:07 +0000 (11:00 +0300)
commit0b8532102293b1abb70385232e88ea75d098c808
treee2da859d65cc2773ccdf6550112afdaad4081b14
parent6d9eb7ebae3d7e951bc0999235ae7028eb4cae4f
wil6210: fix RX checksum report to network stack

Currently the driver sets CHECKSUM_UNNECESSARY only in case the HW
doesn't report checksum error.
As ip_summed value is not initialized it is not clear what
the driver will report to the network stack in case of HW checksum
error or in case HW doesn't calculate checksum.
Initialize ip_summed to CHECKSUM_NONE to guarantee checksum
calculation by the network stack in the above cases.

Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c
drivers/net/wireless/ath/wil6210/txrx.c
drivers/net/wireless/ath/wil6210/txrx_edma.c
drivers/net/wireless/ath/wil6210/wil6210.h