diff options
author | Abhijeet Kolekar <abhijeet.kolekar@intel.com> | 2008-12-18 21:37:27 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:59:11 -0500 |
commit | f2c7e52100545e54af064fe0345d141fdcf2d243 (patch) | |
tree | e75d927bc367b7ff178fdcef7e27b81133fbd4a2 /drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |
parent | 3832ec9dc919a0994d713390eb4fb3c7e7500b94 (diff) |
iwl3945: rename iwl3945_priv variables
The patch renames iwl3945 specific variables in iwl3945_priv
structure. iwl3945_priv structure differs with iwl_priv structure
with these variables. Goal of this patch is to make transition from
iwl3945_priv to iwl_priv smoothly.
Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-rs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c index 3fa9570f82b4..daaac3196ce1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |||
@@ -901,7 +901,7 @@ void iwl3945_rate_scale_init(struct ieee80211_hw *hw, s32 sta_id) | |||
901 | 901 | ||
902 | rcu_read_lock(); | 902 | rcu_read_lock(); |
903 | 903 | ||
904 | sta = ieee80211_find_sta(hw, priv->stations[sta_id].sta.sta.addr); | 904 | sta = ieee80211_find_sta(hw, priv->stations_39[sta_id].sta.sta.addr); |
905 | if (!sta) { | 905 | if (!sta) { |
906 | rcu_read_unlock(); | 906 | rcu_read_unlock(); |
907 | return; | 907 | return; |
@@ -916,7 +916,7 @@ void iwl3945_rate_scale_init(struct ieee80211_hw *hw, s32 sta_id) | |||
916 | switch (priv->band) { | 916 | switch (priv->band) { |
917 | case IEEE80211_BAND_2GHZ: | 917 | case IEEE80211_BAND_2GHZ: |
918 | /* TODO: this always does G, not a regression */ | 918 | /* TODO: this always does G, not a regression */ |
919 | if (priv->active_rxon.flags & RXON_FLG_TGG_PROTECT_MSK) { | 919 | if (priv->active39_rxon.flags & RXON_FLG_TGG_PROTECT_MSK) { |
920 | rs_sta->tgg = 1; | 920 | rs_sta->tgg = 1; |
921 | rs_sta->expected_tpt = iwl3945_expected_tpt_g_prot; | 921 | rs_sta->expected_tpt = iwl3945_expected_tpt_g_prot; |
922 | } else | 922 | } else |