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 Fix scanning for iwm.



details:   https://anonhg.NetBSD.org/src-all/rev/0f42698439fd
branches:  trunk
changeset: 990970:0f42698439fd
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Fri Jan 15 14:45:31 2021 +1100

description:
Fix scanning for iwm.

The directed scan fucntion from the old driver was implementd incorrectly
for the -phil stack.  Setting des_essidlen to anything other than zero
will force a directed scan on an empty essid.

diffstat:

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

diffs (12 lines):

diff -r 564f0e660a05 -r 0f42698439fd sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Jan 14 14:12:01 2021 +0100
+++ b/sys/dev/pci/if_iwm.c      Fri Jan 15 14:45:31 2021 +1100
@@ -8402,7 +8402,7 @@
            ieee80211_media_status, macaddr);
 
        ic->ic_opmode = opmode;
-       sc->sc_des_esslen = IEEE80211_NWID_LEN;
+       sc->sc_des_esslen = 0;
 
        /*
         * XXX is this good enough at attach time?



Home | Main Index | Thread Index | Old Index