diff options
Diffstat (limited to 'drivers/net/wireless/libertas_tf/main.c')
-rw-r--r-- | drivers/net/wireless/libertas_tf/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas_tf/main.c b/drivers/net/wireless/libertas_tf/main.c index feff945ad856..241ddcfa352e 100644 --- a/drivers/net/wireless/libertas_tf/main.c +++ b/drivers/net/wireless/libertas_tf/main.c | |||
@@ -354,9 +354,11 @@ static void lbtf_op_remove_interface(struct ieee80211_hw *hw, | |||
354 | priv->vif = NULL; | 354 | priv->vif = NULL; |
355 | } | 355 | } |
356 | 356 | ||
357 | static int lbtf_op_config(struct ieee80211_hw *hw, struct ieee80211_conf *conf) | 357 | static int lbtf_op_config(struct ieee80211_hw *hw, u32 changed) |
358 | { | 358 | { |
359 | struct lbtf_private *priv = hw->priv; | 359 | struct lbtf_private *priv = hw->priv; |
360 | struct ieee80211_conf *conf = &hw->conf; | ||
361 | |||
360 | if (conf->channel->center_freq != priv->cur_freq) { | 362 | if (conf->channel->center_freq != priv->cur_freq) { |
361 | priv->cur_freq = conf->channel->center_freq; | 363 | priv->cur_freq = conf->channel->center_freq; |
362 | lbtf_set_channel(priv, conf->channel->hw_value); | 364 | lbtf_set_channel(priv, conf->channel->hw_value); |