diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-10-12 15:52:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-12 15:52:25 -0400 |
commit | 5807bae7eda2d6da673c9f9f52460c3fbcea556c (patch) | |
tree | ff4d82a8ddacb81b96969e97c090a5b61c9c51df /drivers | |
parent | a13c8f3133b250e732c383b1c390d625e755db03 (diff) | |
parent | fd74d065f43f88eedc7492886d84f0accb683653 (diff) |
Merge branch 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 7d74ae53950c..176e52577673 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2753,6 +2753,7 @@ static const struct iwl_ops iwl3945_ops = { | |||
2753 | 2753 | ||
2754 | static struct iwl_base_params iwl3945_base_params = { | 2754 | static struct iwl_base_params iwl3945_base_params = { |
2755 | .eeprom_size = IWL3945_EEPROM_IMG_SIZE, | 2755 | .eeprom_size = IWL3945_EEPROM_IMG_SIZE, |
2756 | .num_of_queues = IWL39_NUM_QUEUES, | ||
2756 | .pll_cfg_val = CSR39_ANA_PLL_CFG_VAL, | 2757 | .pll_cfg_val = CSR39_ANA_PLL_CFG_VAL, |
2757 | .set_l0s = false, | 2758 | .set_l0s = false, |
2758 | .use_bsm = true, | 2759 | .use_bsm = true, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index c4fe3f94c366..6771c404fa73 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2809,9 +2809,6 @@ static void iwl_alive_start(struct iwl_priv *priv) | |||
2809 | goto restart; | 2809 | goto restart; |
2810 | } | 2810 | } |
2811 | 2811 | ||
2812 | if (priv->hw_params.calib_rt_cfg) | ||
2813 | iwlagn_send_calib_cfg_rt(priv, priv->hw_params.calib_rt_cfg); | ||
2814 | |||
2815 | 2812 | ||
2816 | /* After the ALIVE response, we can send host commands to the uCode */ | 2813 | /* After the ALIVE response, we can send host commands to the uCode */ |
2817 | set_bit(STATUS_ALIVE, &priv->status); | 2814 | set_bit(STATUS_ALIVE, &priv->status); |
@@ -2827,6 +2824,7 @@ static void iwl_alive_start(struct iwl_priv *priv) | |||
2827 | if (iwl_is_rfkill(priv)) | 2824 | if (iwl_is_rfkill(priv)) |
2828 | return; | 2825 | return; |
2829 | 2826 | ||
2827 | /* download priority table before any calibration request */ | ||
2830 | if (priv->cfg->bt_params && | 2828 | if (priv->cfg->bt_params && |
2831 | priv->cfg->bt_params->advanced_bt_coexist) { | 2829 | priv->cfg->bt_params->advanced_bt_coexist) { |
2832 | /* Configure Bluetooth device coexistence support */ | 2830 | /* Configure Bluetooth device coexistence support */ |
@@ -2835,8 +2833,7 @@ static void iwl_alive_start(struct iwl_priv *priv) | |||
2835 | priv->kill_cts_mask = IWLAGN_BT_KILL_CTS_MASK_DEFAULT; | 2833 | priv->kill_cts_mask = IWLAGN_BT_KILL_CTS_MASK_DEFAULT; |
2836 | priv->cfg->ops->hcmd->send_bt_config(priv); | 2834 | priv->cfg->ops->hcmd->send_bt_config(priv); |
2837 | priv->bt_valid = IWLAGN_BT_VALID_ENABLE_FLAGS; | 2835 | priv->bt_valid = IWLAGN_BT_VALID_ENABLE_FLAGS; |
2838 | if (bt_coex_active && priv->iw_mode != NL80211_IFTYPE_ADHOC) | 2836 | iwlagn_send_prio_tbl(priv); |
2839 | iwlagn_send_prio_tbl(priv); | ||
2840 | 2837 | ||
2841 | /* FIXME: w/a to force change uCode BT state machine */ | 2838 | /* FIXME: w/a to force change uCode BT state machine */ |
2842 | iwlagn_send_bt_env(priv, IWL_BT_COEX_ENV_OPEN, | 2839 | iwlagn_send_bt_env(priv, IWL_BT_COEX_ENV_OPEN, |
@@ -2844,6 +2841,9 @@ static void iwl_alive_start(struct iwl_priv *priv) | |||
2844 | iwlagn_send_bt_env(priv, IWL_BT_COEX_ENV_CLOSE, | 2841 | iwlagn_send_bt_env(priv, IWL_BT_COEX_ENV_CLOSE, |
2845 | BT_COEX_PRIO_TBL_EVT_INIT_CALIB2); | 2842 | BT_COEX_PRIO_TBL_EVT_INIT_CALIB2); |
2846 | } | 2843 | } |
2844 | if (priv->hw_params.calib_rt_cfg) | ||
2845 | iwlagn_send_calib_cfg_rt(priv, priv->hw_params.calib_rt_cfg); | ||
2846 | |||
2847 | ieee80211_wake_queues(priv->hw); | 2847 | ieee80211_wake_queues(priv->hw); |
2848 | 2848 | ||
2849 | priv->active_rate = IWL_RATES_MASK; | 2849 | priv->active_rate = IWL_RATES_MASK; |