diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-06 22:24:00 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-01-07 23:16:39 +0100 |
commit | 685328b296acc810541d2532957912690273c64a (patch) | |
tree | 2d7455cae4bf9c8ae3525a3284b964f5dd0895da /drivers/net/wireless/ath/carl9170/main.c | |
parent | mac80211: allow to set smps mode to OFF in AP mode (diff) | |
download | linux-685328b296acc810541d2532957912690273c64a.tar.xz linux-685328b296acc810541d2532957912690273c64a.zip |
mac80211: remove channel_change_time
This value is no longer used by mac80211, and practically no
driver ever set it to a correct value anyway, so remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/main.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/main.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c index 349fa22a921a..5ab68fddf7ba 100644 --- a/drivers/net/wireless/ath/carl9170/main.c +++ b/drivers/net/wireless/ath/carl9170/main.c @@ -1968,18 +1968,6 @@ static int carl9170_parse_eeprom(struct ar9170 *ar) return -ENOMEM; ar->num_channels = chans; - /* - * I measured this, a bandswitch takes roughly - * 135 ms and a frequency switch about 80. - * - * FIXME: measure these values again once EEPROM settings - * are used, that will influence them! - */ - if (bands == 2) - ar->hw->channel_change_time = 135 * 1000; - else - ar->hw->channel_change_time = 80 * 1000; - regulatory->current_rd = le16_to_cpu(ar->eeprom.reg_domain[0]); /* second part of wiphy init */ |