Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Explicitly call scan_done to insure state ...



details:   https://anonhg.NetBSD.org/src-all/rev/69d661b582bb
branches:  trunk
changeset: 361264:69d661b582bb
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sun May 24 18:58:23 2020 +1000

description:
Explicitly call scan_done to insure state machine progression.

diffstat:

 sys/dev/pci/if_iwn.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 654d08f3c268 -r 69d661b582bb sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Sun May 24 18:57:39 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Sun May 24 18:58:23 2020 +1000
@@ -876,6 +876,8 @@
        IEEE80211_LOCK(ic);
        ic->ic_flags &= ~IEEE80211_F_SCAN;
        IEEE80211_UNLOCK(ic);
+       
+       ieee80211_scan_done(vap);
 
        if (vap->iv_state == IEEE80211_S_RUN) {
                /* Set link LED to ON status if we are associated */



Home | Main Index | Thread Index | Old Index