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/c5f785d034e5
branches:  trunk
changeset: 361707:c5f785d034e5
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 5d9575ef879f -r c5f785d034e5 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