diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-08-23 10:57:02 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-25 14:33:22 -0400 |
commit | 74e5c41bafb07f73d8445dcf5a6a968a717d3daa (patch) | |
tree | bdc47282f2c50f9a1c4a4c3fe1f7caf500764bf8 /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | 511b082d29bc68c722abd34c1f0219b5754c1163 (diff) |
iwlwifi: Relax uCode timeout/error checking for 6000g2b
Disable plcp error checking for 6000g2b devices, with wifi/bt coex;
this got trigger too often, disable for now until finding better
trigger point.
Also extend the firmware reload timer much longer for BT coex to make sure
there are will be no mistake to reload firmware too fast and too often.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 1921307a23b8..72eda7e8a00d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -2646,10 +2646,14 @@ static int iwl_check_stuck_queue(struct iwl_priv *priv, int cnt) | |||
2646 | "queue %d, not read %d time\n", | 2646 | "queue %d, not read %d time\n", |
2647 | q->id, | 2647 | q->id, |
2648 | q->repeat_same_read_ptr); | 2648 | q->repeat_same_read_ptr); |
2649 | mod_timer(&priv->monitor_recover, jiffies + | 2649 | if (!priv->cfg->advanced_bt_coexist) { |
2650 | msecs_to_jiffies(IWL_ONE_HUNDRED_MSECS)); | 2650 | mod_timer(&priv->monitor_recover, |
2651 | jiffies + msecs_to_jiffies( | ||
2652 | IWL_ONE_HUNDRED_MSECS)); | ||
2653 | return 1; | ||
2654 | } | ||
2651 | } | 2655 | } |
2652 | return 1; | 2656 | return 0; |
2653 | } else { | 2657 | } else { |
2654 | q->last_read_ptr = q->read_ptr; | 2658 | q->last_read_ptr = q->read_ptr; |
2655 | q->repeat_same_read_ptr = 0; | 2659 | q->repeat_same_read_ptr = 0; |