Skip to content

Commit

Permalink
iwlwifi: fix 4965 uCode load
Browse files Browse the repository at this point in the history
This patch fixes uCode load in 4965 HW

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Jun 30, 2008
1 parent a9efa65 commit 0a078ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions drivers/net/wireless/iwlwifi/iwl-5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -807,11 +807,8 @@ static int iwl5000_alive_notify(struct iwl_priv *priv)

iwl5000_send_Xtal_calib(priv);

if (priv->ucode_type == UCODE_RT) {
if (priv->ucode_type == UCODE_RT)
iwl5000_send_calib_results(priv);
set_bit(STATUS_READY, &priv->status);
priv->is_open = 1;
}

return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/wireless/iwlwifi/iwl4965-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2627,9 +2627,9 @@ static int iwl4965_mac_start(struct ieee80211_hw *hw)
ret = -ETIMEDOUT;
goto out_release_irq;
}

priv->is_open = 1;
}

priv->is_open = 1;
IWL_DEBUG_MAC80211("leave\n");
return 0;

Expand Down

0 comments on commit 0a078ff

Please sign in to comment.