diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-01-21 20:33:19 +0100 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-03-10 01:04:54 +0100 |
commit | 4a02886bae3f2362d4e6efc6fb25dd3507bde8b9 (patch) | |
tree | cb4f83f363474bc73e58e518d79f774239c53874 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | iwlwifi: remove never-changing priv->rates_mask variable (diff) | |
download | linux-4a02886bae3f2362d4e6efc6fb25dd3507bde8b9.tar.xz linux-4a02886bae3f2362d4e6efc6fb25dd3507bde8b9.zip |
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) ieee80211_wake_queues(priv->hw); priv->active_rate = IWL_RATES_MASK; - priv->active_rate_basic = IWL_RATES_MASK & IWL_BASIC_RATES_MASK; iwl_power_update_mode(priv, true); |