ath10k: Use TX cksum offload only for CHECKSUM_PARTIAL
authorHelmut Schaa <helmut.schaa@googlemail.com>
Wed, 28 Jan 2015 10:31:32 +0000 (11:31 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 4 Feb 2015 07:19:03 +0000 (09:19 +0200)
commit75930d1a80e81052376ffc5298aadfe8a075d9d2
tree5e7d75cd587e4d8f5b79597ee5c96f6cff701ef5
parentaf21319fcda4c43aa89186e0d6001432c5d6000e
ath10k: Use TX cksum offload only for CHECKSUM_PARTIAL

Otherwise ath10k will just checksum everything even if it did not
go through the TCP/IP stack (for example bridged frames). In the worst
case this could mean recreating the checksum for incorrect data.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_tx.c