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/464c134cf778
branches:  trunk
changeset: 361455:464c134cf778
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 fb9c939848a0 -r 464c134cf778 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