diff options
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index cf0b820a0eaa..a7968df9dacb 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -630,7 +630,7 @@ int ieee80211_set_freq(struct ieee80211_sub_if_data *sdata, int freqMHz) | |||
630 | } | 630 | } |
631 | local->oper_channel = chan; | 631 | local->oper_channel = chan; |
632 | 632 | ||
633 | if (local->sta_sw_scanning || local->sta_hw_scanning) | 633 | if (local->sw_scanning || local->hw_scanning) |
634 | ret = 0; | 634 | ret = 0; |
635 | else | 635 | else |
636 | ret = ieee80211_hw_config(local); | 636 | ret = ieee80211_hw_config(local); |