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/cf6b29471e6d
branches:  trunk
changeset: 986433:cf6b29471e6d
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 7a6592fd9bf6 -r cf6b29471e6d 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