iwlwifi: calculate active legacy rates per station
authorJohannes Berg <johannes.berg@intel.com>
Thu, 8 Mar 2012 08:18:04 +0000 (09:18 +0100)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 12 Apr 2012 21:18:19 +0000 (14:18 -0700)
commit3ac40edadcb7799391452ffaa1745084c3e4c747
treea59ead3848833c3b811352078a6236457cd3a943
parent4dcba6d3c5f6e9a32db85f6554c8cd81b38f1a42
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>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-dev.h