diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/scan.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index b376775e722f..147772a2977c 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c | |||
@@ -605,8 +605,11 @@ static void ieee80211_scan_state_set_channel(struct ieee80211_local *local, | |||
605 | /* advance state machine to next channel/band */ | 605 | /* advance state machine to next channel/band */ |
606 | local->scan_channel_idx++; | 606 | local->scan_channel_idx++; |
607 | 607 | ||
608 | if (skip) | 608 | if (skip) { |
609 | /* if we skip this channel return to the decision state */ | ||
610 | local->next_scan_state = SCAN_DECISION; | ||
609 | return; | 611 | return; |
612 | } | ||
610 | 613 | ||
611 | /* | 614 | /* |
612 | * Probe delay is used to update the NAV, cf. 11.1.3.2.2 | 615 | * Probe delay is used to update the NAV, cf. 11.1.3.2.2 |