From 9c3ac0ca0119c86ebefacb2761eddedaec9552fa Mon Sep 17 00:00:00 2001 From: Govind Singh Date: Thu, 2 Feb 2017 11:23:36 +0530 Subject: ath10k: disable HW checksum for WCN3990 HW checksum is not enabled in current release of WCN3990. Disable HW checksum for WCN3990. CRs-Fixed: 2000365 Change-Id: I3b8ee3664150ee8c0c2a8fe9ed1d61c6d32f16b0 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/mac.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 4433780a61d2..aac15b0a3340 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -7989,8 +7989,10 @@ int ath10k_mac_register(struct ath10k *ar) goto err_free; } - if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) - ar->hw->netdev_features = NETIF_F_HW_CSUM; + if (!QCA_REV_WCN3990(ar)) { + if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) + ar->hw->netdev_features = NETIF_F_HW_CSUM; + } if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED)) { /* Init ath dfs pattern detector */ -- cgit v1.2.3