diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index cee06b968de8..9e390f698641 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -214,7 +214,7 @@ static int iwl6000_hw_channel_switch(struct iwl_priv *priv, | |||
214 | }; | 214 | }; |
215 | 215 | ||
216 | cmd.band = priv->band == IEEE80211_BAND_2GHZ; | 216 | cmd.band = priv->band == IEEE80211_BAND_2GHZ; |
217 | ch = ieee80211_frequency_to_channel(ch_switch->channel->center_freq); | 217 | ch = ch_switch->channel->hw_value; |
218 | IWL_DEBUG_11H(priv, "channel switch from %u to %u\n", | 218 | IWL_DEBUG_11H(priv, "channel switch from %u to %u\n", |
219 | priv->active_rxon.channel, ch); | 219 | priv->active_rxon.channel, ch); |
220 | cmd.channel = cpu_to_le16(ch); | 220 | cmd.channel = cpu_to_le16(ch); |
@@ -330,6 +330,11 @@ static struct iwl_lib_ops iwl6000_lib = { | |||
330 | .check_ack_health = iwl_good_ack_health, | 330 | .check_ack_health = iwl_good_ack_health, |
331 | .txfifo_flush = iwlagn_txfifo_flush, | 331 | .txfifo_flush = iwlagn_txfifo_flush, |
332 | .dev_txfifo_flush = iwlagn_dev_txfifo_flush, | 332 | .dev_txfifo_flush = iwlagn_dev_txfifo_flush, |
333 | .tt_ops = { | ||
334 | .lower_power_detection = iwl_tt_is_low_power_state, | ||
335 | .tt_power_mode = iwl_tt_current_power_mode, | ||
336 | .ct_kill_check = iwl_check_for_ct_kill, | ||
337 | } | ||
333 | }; | 338 | }; |
334 | 339 | ||
335 | static const struct iwl_ops iwl6000_ops = { | 340 | static const struct iwl_ops iwl6000_ops = { |