Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236942
b: refs/heads/master
c: d828cd5
h: refs/heads/master
v: v3
  • Loading branch information
Stanislaw Gruszka authored and John W. Linville committed Jan 31, 2011
1 parent 4bb25af commit 3e1b52c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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: 3e11210d46a4f252f41db6e442b46026aeddbb59
refs/heads/master: d828cd5a95e532636dbc495e4b94b625ab9abdad
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl-3945.c
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,7 @@ void iwl3945_hw_build_tx_cmd_rate(struct iwl_priv *priv,

/* We need to figure out how to get the sta->supp_rates while
* in this running context */
rate_mask = IWL_RATES_MASK;

rate_mask = IWL_RATES_MASK_3945;

/* Set retry limit on DATA packets and Probe Responses*/
if (ieee80211_is_probe_resp(fc))
Expand Down Expand Up @@ -1650,7 +1649,7 @@ static int iwl3945_hw_reg_comp_txpower_temp(struct iwl_priv *priv)
ref_temp);

/* set tx power value for all rates, OFDM and CCK */
for (rate_index = 0; rate_index < IWL_RATE_COUNT;
for (rate_index = 0; rate_index < IWL_RATE_COUNT_3945;
rate_index++) {
int power_idx =
ch_info->power_info[rate_index].base_power_index;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn-rs.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ enum {
IWL_CCK_BASIC_RATES_MASK)

#define IWL_RATES_MASK ((1 << IWL_RATE_COUNT) - 1)
#define IWL_RATES_MASK_3945 ((1 << IWL_RATE_COUNT_3945) - 1)

#define IWL_INVALID_VALUE -1

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,7 @@ static void iwl3945_alive_start(struct iwl_priv *priv)

ieee80211_wake_queues(priv->hw);

priv->active_rate = IWL_RATES_MASK;
priv->active_rate = IWL_RATES_MASK_3945;

iwl_power_update_mode(priv, true);

Expand Down

0 comments on commit 3e1b52c

Please sign in to comment.