diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-01-21 14:33:19 -0500 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-03-09 19:04:54 -0500 |
commit | 4a02886bae3f2362d4e6efc6fb25dd3507bde8b9 (patch) | |
tree | cb4f83f363474bc73e58e518d79f774239c53874 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | 470ab2dd6a7b0719e59830e11d7bc2e710867b94 (diff) |
iwlwifi: remove priv->active_rate_basic
This variable is assigned a default value,
but then assigned zero as soon as mac80211
calls a change channel (which will happen
right after the hw is started) and after
that it never changes again.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index b2b050592bc1..9cc15f96d208 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -2509,7 +2509,6 @@ static void iwl3945_alive_start(struct iwl_priv *priv) | |||
2509 | ieee80211_wake_queues(priv->hw); | 2509 | ieee80211_wake_queues(priv->hw); |
2510 | 2510 | ||
2511 | priv->active_rate = IWL_RATES_MASK; | 2511 | priv->active_rate = IWL_RATES_MASK; |
2512 | priv->active_rate_basic = IWL_RATES_MASK & IWL_BASIC_RATES_MASK; | ||
2513 | 2512 | ||
2514 | iwl_power_update_mode(priv, true); | 2513 | iwl_power_update_mode(priv, true); |
2515 | 2514 | ||