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/e2feefff2ecb
branches: trunk
changeset: 376987:e2feefff2ecb
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 7c8b960502cd -r e2feefff2ecb 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 @@ iwm_vap_create(struct ieee80211com *ic,
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