summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/dvm/devices.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-05-30 12:31:23 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-06-06 13:24:58 +0200
commit12b78246aa49b72f665601fdc7a44eb75fcf593b (patch)
tree298be6432751b7f5911d531dd08167875ccea696 /drivers/net/wireless/iwlwifi/dvm/devices.c
parent6de4902ee8e07252d335b16810cb73432cf0d514 (diff)
iwlwifi: configure PHY version for 1000 series
We should also configure the PHY version in the CSR_HW_IF_CONFIG_REG register for 1000 series devices, not just for the other devices. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Reviewed-by: Wey-Yi W Guy <wey-yi.w.guy@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/devices.c')
-rw-r--r--drivers/net/wireless/iwlwifi/dvm/devices.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/devices.c b/drivers/net/wireless/iwlwifi/dvm/devices.c
index 747e576950f4..d12f0631b67a 100644
--- a/drivers/net/wireless/iwlwifi/dvm/devices.c
+++ b/drivers/net/wireless/iwlwifi/dvm/devices.c
@@ -96,10 +96,7 @@ static void iwl1000_set_ct_threshold(struct iwl_priv *priv)
/* NIC configuration for 1000 series */
static void iwl1000_nic_config(struct iwl_priv *priv)
{
- /* set CSR_HW_CONFIG_REG for uCode use */
- iwl_set_bit(priv->trans, CSR_HW_IF_CONFIG_REG,
- CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI |
- CSR_HW_IF_CONFIG_REG_BIT_MAC_SI);
+ iwl_rf_config(priv);
/* Setting digital SVR for 1000 card to 1.32V */
/* locking is acquired in iwl_set_bits_mask_prph() function */