Make sure any waiters on the scan results get notified if the scan task
decides to do nothing. If this isn't done, then a scan request whilst a scan occurs in an active channel set or a completed channel set will hang. Tested: * Intel 5100, STA mode
This commit is contained in:
parent
7055003962
commit
a64c18c004
@ -860,6 +860,7 @@ scan_task(void *arg, int pending)
|
||||
if (ss->ss_next == ss->ss_last) {
|
||||
IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN,
|
||||
"%s: no channels to scan\n", __func__);
|
||||
scandone = 1;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user