diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 9941a60a2327..3288c3de67ca 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -645,7 +645,8 @@ int ieee80211_set_freq(struct ieee80211_sub_if_data *sdata, int freqMHz) | |||
645 | if (local->sw_scanning || local->hw_scanning) | 645 | if (local->sw_scanning || local->hw_scanning) |
646 | ret = 0; | 646 | ret = 0; |
647 | else | 647 | else |
648 | ret = ieee80211_hw_config(local); | 648 | ret = ieee80211_hw_config( |
649 | local, IEEE80211_CONF_CHANGE_CHANNEL); | ||
649 | 650 | ||
650 | rate_control_clear(local); | 651 | rate_control_clear(local); |
651 | } | 652 | } |