summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/fw.c
diff options
context:
space:
mode:
authorLiad Kaufman2017-02-01 15:21:32 +0100
committerLuca Coelho2017-04-19 21:21:47 +0200
commit5a4aa895521bb0f7148e34de69059799f9cb1690 (patch)
tree0fe66e315c9b81b67b1aa70fe51207ebc43bbaf4 /drivers/net/wireless/intel/iwlwifi/mvm/fw.c
parentiwlwifi: move to TVQM mode (diff)
downloadkernel-qcow2-linux-5a4aa895521bb0f7148e34de69059799f9cb1690.tar.gz
kernel-qcow2-linux-5a4aa895521bb0f7148e34de69059799f9cb1690.tar.xz
kernel-qcow2-linux-5a4aa895521bb0f7148e34de69059799f9cb1690.zip
iwlwifi: mvm: remove unneeded reg write in iwl_mvm_up()
Not only that this write is not needed (as FW does this itself), on newer HW this register is write protected so trying to write there will cause problems. Signed-off-by: Liad Kaufman <liad.kaufman@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/fw.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/fw.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c
index 2a4c952ef01a..bfccbadd1a6e 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c
@@ -1475,10 +1475,6 @@ int iwl_mvm_up(struct iwl_mvm *mvm)
goto error;
}
- if (iwl_mvm_is_csum_supported(mvm) &&
- mvm->cfg->features & NETIF_F_RXCSUM)
- iwl_trans_write_prph(mvm->trans, RX_EN_CSUM, 0x3);
-
/* allow FW/transport low power modes if not during restart */
if (!test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status))
iwl_mvm_unref(mvm, IWL_MVM_REF_UCODE_DOWN);