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 <govinds@codeaurora.org>
This commit is contained in:
Govind Singh 2017-02-02 11:23:36 +05:30 committed by Gerrit - the friendly Code Review server
parent 02ed94d532
commit 9c3ac0ca01

View file

@ -7989,8 +7989,10 @@ int ath10k_mac_register(struct ath10k *ar)
goto err_free; goto err_free;
} }
if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) if (!QCA_REV_WCN3990(ar)) {
ar->hw->netdev_features = NETIF_F_HW_CSUM; 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)) { if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED)) {
/* Init ath dfs pattern detector */ /* Init ath dfs pattern detector */