diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-09-03 07:26:26 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-08 22:23:15 +0400 |
commit | 17e72782f02fe732d687e5bc2bb0ce10424d2819 (patch) | |
tree | e7928fdbe015f1266cf30f5303beef5630993143 /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | 681c0050ea3ac2e90c83d5af397d73eed848a372 (diff) | |
download | linux-17e72782f02fe732d687e5bc2bb0ce10424d2819.tar.xz |
iwlwifi: align set channel with mac80211
This patch makes use of mac80211 defaults for channel and band.
Older code that uses G band channel 6 was removed. This patch also
changes iwl_set_rxon_channel signature.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.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, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 7b8af9609e08..df5763c77af6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -2841,7 +2841,7 @@ static int iwl4965_mac_config(struct ieee80211_hw *hw, struct ieee80211_conf *co ) priv->staging_rxon.flags = 0; - iwl_set_rxon_channel(priv, conf->channel->band, channel); + iwl_set_rxon_channel(priv, conf->channel); iwl_set_flags_for_band(priv, conf->channel->band); |