Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193696
b: refs/heads/master
c: 470ab2d
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and Reinette Chatre committed Mar 10, 2010
1 parent f158812 commit c02dac3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 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: 254aebf3d0439e7b0a8318f1604b3fdb4144f689
refs/heads/master: 470ab2dd6a7b0719e59830e11d7bc2e710867b94
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -2103,8 +2103,8 @@ static void iwl_alive_start(struct iwl_priv *priv)

ieee80211_wake_queues(priv->hw);

priv->active_rate = priv->rates_mask;
priv->active_rate_basic = priv->rates_mask & IWL_BASIC_RATES_MASK;
priv->active_rate = IWL_RATES_MASK;
priv->active_rate_basic = IWL_RATES_MASK & IWL_BASIC_RATES_MASK;

/* Configure Tx antenna selection based on H/W config */
if (priv->cfg->ops->hcmd->set_tx_ant)
Expand Down Expand Up @@ -3392,7 +3392,6 @@ static int iwl_init_drv(struct iwl_priv *priv)
priv->qos_data.qos_active = 0;
priv->qos_data.qos_cap.val = 0;

priv->rates_mask = IWL_RATES_MASK;
/* Set the tx_power_user_lmt to the lowest power level
* this value will get overwritten by channel max power avg
* from eeprom */
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -1217,8 +1217,6 @@ struct iwl_priv {
#endif

/* context information */
u16 rates_mask;

u8 bssid[ETH_ALEN];
u16 rts_threshold;
u8 mac_addr[ETH_ALEN];
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2508,8 +2508,8 @@ static void iwl3945_alive_start(struct iwl_priv *priv)

ieee80211_wake_queues(priv->hw);

priv->active_rate = priv->rates_mask;
priv->active_rate_basic = priv->rates_mask & IWL_BASIC_RATES_MASK;
priv->active_rate = IWL_RATES_MASK;
priv->active_rate_basic = IWL_RATES_MASK & IWL_BASIC_RATES_MASK;

iwl_power_update_mode(priv, true);

Expand Down Expand Up @@ -3855,7 +3855,6 @@ static int iwl3945_init_drv(struct iwl_priv *priv)
priv->qos_data.qos_active = 0;
priv->qos_data.qos_cap.val = 0;

priv->rates_mask = IWL_RATES_MASK;
priv->tx_power_user_lmt = IWL_DEFAULT_TX_POWER;

if (eeprom->version < EEPROM_3945_EEPROM_VERSION) {
Expand Down

0 comments on commit c02dac3

Please sign in to comment.