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/8165fd13a8c0
branches:  trunk
changeset: 940860:8165fd13a8c0
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 0952b04a12a0 -r 8165fd13a8c0 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
@@ -803,6 +803,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