Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256178
b: refs/heads/master
c: e55b517
h: refs/heads/master
v: v3
  • Loading branch information
Wey-Yi Guy committed Jul 1, 2011
1 parent ea842bf commit f90deac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f86af7ba82e3449e6ee957e0407cb6c683fa37db
refs/heads/master: e55b517c4d853a5168ebb4cdd58933b17c593827
20 changes: 9 additions & 11 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static void iwl_bg_bt_runtime_config(struct work_struct *work)
/* dont send host command if rf-kill is on */
if (!iwl_is_ready_rf(priv))
return;
priv->cfg->ops->hcmd->send_bt_config(priv);
iwlagn_send_advance_bt_config(priv);
}

static void iwl_bg_bt_full_concurrency(struct work_struct *work)
Expand Down Expand Up @@ -292,7 +292,7 @@ static void iwl_bg_bt_full_concurrency(struct work_struct *work)
iwlagn_commit_rxon(priv, ctx);
}

priv->cfg->ops->hcmd->send_bt_config(priv);
iwlagn_send_advance_bt_config(priv);
out:
mutex_unlock(&priv->mutex);
}
Expand Down Expand Up @@ -2017,7 +2017,7 @@ int iwl_alive_start(struct iwl_priv *priv)
priv->bt_valid = IWLAGN_BT_ALL_VALID_MSK;
priv->kill_ack_mask = IWLAGN_BT_KILL_ACK_MASK_DEFAULT;
priv->kill_cts_mask = IWLAGN_BT_KILL_CTS_MASK_DEFAULT;
priv->cfg->ops->hcmd->send_bt_config(priv);
iwlagn_send_advance_bt_config(priv);
priv->bt_valid = IWLAGN_BT_VALID_ENABLE_FLAGS;
iwlagn_send_prio_tbl(priv);

Expand All @@ -2030,7 +2030,13 @@ int iwl_alive_start(struct iwl_priv *priv)
BT_COEX_PRIO_TBL_EVT_INIT_CALIB2);
if (ret)
return ret;
} else {
/*
* default is 2-wire BT coexexistence support
*/
iwl_send_bt_config(priv);
}

if (priv->hw_params.calib_rt_cfg)
iwlagn_send_calib_cfg_rt(priv, priv->hw_params.calib_rt_cfg);

Expand Down Expand Up @@ -2058,14 +2064,6 @@ int iwl_alive_start(struct iwl_priv *priv)
priv->cfg->ops->hcmd->set_rxon_chain(priv, ctx);
}

if (!priv->cfg->bt_params || (priv->cfg->bt_params &&
!priv->cfg->bt_params->advanced_bt_coexist)) {
/*
* default is 2-wire BT coexexistence support
*/
priv->cfg->ops->hcmd->send_bt_config(priv);
}

iwl_reset_run_time_calib(priv);

set_bit(STATUS_READY, &priv->status);
Expand Down

0 comments on commit f90deac

Please sign in to comment.