iiwlagn: always download priority table
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 23 Sep 2010 16:56:51 +0000 (09:56 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 12 Oct 2010 15:33:09 +0000 (08:33 -0700)
For advance BT/WiFi co-exist, always download bt priority table
before sending bt_config command

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c

index c4fe3f94c366b7b832d189c5366a0ebe611241e3..4470e8c80e9f3b584cc77fd91267dc3744af83f0 100644 (file)
@@ -2835,8 +2835,7 @@ static void iwl_alive_start(struct iwl_priv *priv)
                priv->kill_cts_mask = IWLAGN_BT_KILL_CTS_MASK_DEFAULT;
                priv->cfg->ops->hcmd->send_bt_config(priv);
                priv->bt_valid = IWLAGN_BT_VALID_ENABLE_FLAGS;
-               if (bt_coex_active && priv->iw_mode != NL80211_IFTYPE_ADHOC)
-                       iwlagn_send_prio_tbl(priv);
+               iwlagn_send_prio_tbl(priv);
 
                /* FIXME: w/a to force change uCode BT state machine */
                iwlagn_send_bt_env(priv, IWL_BT_COEX_ENV_OPEN,