diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-03-08 09:18:04 +0100 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-04-12 14:18:19 -0700 |
commit | 3ac40edadcb7799391452ffaa1745084c3e4c747 (patch) | |
tree | a59ead3848833c3b811352078a6236457cd3a943 /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | 4dcba6d3c5f6e9a32db85f6554c8cd81b38f1a42 (diff) | |
download | op-kernel-dev-3ac40edadcb7799391452ffaa1745084c3e4c747.zip op-kernel-dev-3ac40edadcb7799391452ffaa1745084c3e4c747.tar.gz |
iwlwifi: calculate active legacy rates per station
Not all stations are guaranteed to have the same
active (available) legacy rates, so calculate them
on rate control init instead of hard-coding them
based on our own available rates. I have no idea
why that was done here before.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index b507ee6..208b827 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -790,8 +790,6 @@ int iwl_alive_start(struct iwl_priv *priv) ieee80211_wake_queues(priv->hw); - priv->active_rate = IWL_RATES_MASK; - /* Configure Tx antenna selection based on H/W config */ iwlagn_send_tx_ant_config(priv, priv->hw_params.valid_tx_ant); |