diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index f9127e7f36c7..ffb0b192270d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -260,7 +260,7 @@ static void iwl_bg_bt_runtime_config(struct work_struct *work) | |||
260 | /* dont send host command if rf-kill is on */ | 260 | /* dont send host command if rf-kill is on */ |
261 | if (!iwl_is_ready_rf(priv)) | 261 | if (!iwl_is_ready_rf(priv)) |
262 | return; | 262 | return; |
263 | priv->cfg->ops->hcmd->send_bt_config(priv); | 263 | iwlagn_send_advance_bt_config(priv); |
264 | } | 264 | } |
265 | 265 | ||
266 | static void iwl_bg_bt_full_concurrency(struct work_struct *work) | 266 | static void iwl_bg_bt_full_concurrency(struct work_struct *work) |
@@ -292,7 +292,7 @@ static void iwl_bg_bt_full_concurrency(struct work_struct *work) | |||
292 | iwlagn_commit_rxon(priv, ctx); | 292 | iwlagn_commit_rxon(priv, ctx); |
293 | } | 293 | } |
294 | 294 | ||
295 | priv->cfg->ops->hcmd->send_bt_config(priv); | 295 | iwlagn_send_advance_bt_config(priv); |
296 | out: | 296 | out: |
297 | mutex_unlock(&priv->mutex); | 297 | mutex_unlock(&priv->mutex); |
298 | } | 298 | } |
@@ -2017,7 +2017,7 @@ int iwl_alive_start(struct iwl_priv *priv) | |||
2017 | priv->bt_valid = IWLAGN_BT_ALL_VALID_MSK; | 2017 | priv->bt_valid = IWLAGN_BT_ALL_VALID_MSK; |
2018 | priv->kill_ack_mask = IWLAGN_BT_KILL_ACK_MASK_DEFAULT; | 2018 | priv->kill_ack_mask = IWLAGN_BT_KILL_ACK_MASK_DEFAULT; |
2019 | priv->kill_cts_mask = IWLAGN_BT_KILL_CTS_MASK_DEFAULT; | 2019 | priv->kill_cts_mask = IWLAGN_BT_KILL_CTS_MASK_DEFAULT; |
2020 | priv->cfg->ops->hcmd->send_bt_config(priv); | 2020 | iwlagn_send_advance_bt_config(priv); |
2021 | priv->bt_valid = IWLAGN_BT_VALID_ENABLE_FLAGS; | 2021 | priv->bt_valid = IWLAGN_BT_VALID_ENABLE_FLAGS; |
2022 | iwlagn_send_prio_tbl(priv); | 2022 | iwlagn_send_prio_tbl(priv); |
2023 | 2023 | ||
@@ -2030,7 +2030,13 @@ int iwl_alive_start(struct iwl_priv *priv) | |||
2030 | BT_COEX_PRIO_TBL_EVT_INIT_CALIB2); | 2030 | BT_COEX_PRIO_TBL_EVT_INIT_CALIB2); |
2031 | if (ret) | 2031 | if (ret) |
2032 | return ret; | 2032 | return ret; |
2033 | } else { | ||
2034 | /* | ||
2035 | * default is 2-wire BT coexexistence support | ||
2036 | */ | ||
2037 | iwl_send_bt_config(priv); | ||
2033 | } | 2038 | } |
2039 | |||
2034 | if (priv->hw_params.calib_rt_cfg) | 2040 | if (priv->hw_params.calib_rt_cfg) |
2035 | iwlagn_send_calib_cfg_rt(priv, priv->hw_params.calib_rt_cfg); | 2041 | iwlagn_send_calib_cfg_rt(priv, priv->hw_params.calib_rt_cfg); |
2036 | 2042 | ||
@@ -2058,14 +2064,6 @@ int iwl_alive_start(struct iwl_priv *priv) | |||
2058 | priv->cfg->ops->hcmd->set_rxon_chain(priv, ctx); | 2064 | priv->cfg->ops->hcmd->set_rxon_chain(priv, ctx); |
2059 | } | 2065 | } |
2060 | 2066 | ||
2061 | if (!priv->cfg->bt_params || (priv->cfg->bt_params && | ||
2062 | !priv->cfg->bt_params->advanced_bt_coexist)) { | ||
2063 | /* | ||
2064 | * default is 2-wire BT coexexistence support | ||
2065 | */ | ||
2066 | priv->cfg->ops->hcmd->send_bt_config(priv); | ||
2067 | } | ||
2068 | |||
2069 | iwl_reset_run_time_calib(priv); | 2067 | iwl_reset_run_time_calib(priv); |
2070 | 2068 | ||
2071 | set_bit(STATUS_READY, &priv->status); | 2069 | set_bit(STATUS_READY, &priv->status); |