diff options
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 |