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/74c97e957af8
branches:  trunk
changeset: 375483:74c97e957af8
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 8f2c1d3ad881 -r 74c97e957af8 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 @@ iwn_scan_end(struct ieee80211com *ic)
        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