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 Do not override state machine when associa...
details: https://anonhg.NetBSD.org/src-all/rev/d06d0493fb1c
branches: trunk
changeset: 952528:d06d0493fb1c
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Thu Sep 03 22:10:46 2020 +1000
description:
Do not override state machine when associating.
diffstat:
sys/dev/pci/if_iwm.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 6b71f4122d8d -r d06d0493fb1c sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Thu Sep 03 22:06:09 2020 +1000
+++ b/sys/dev/pci/if_iwm.c Thu Sep 03 22:10:46 2020 +1000
@@ -6352,13 +6352,15 @@
break;
case IEEE80211_S_ASSOC:
- in = (struct iwm_node *)vap->iv_bss;
- err = iwm_newassoc(in, 1);
+ in = vap->iv_bss;
+ iwm_newassoc(in, 1);
+#if 0
if (err) {
DPRINTF(("%s: failed to associate: %d\n", DEVNAME(sc),
err));
return err;
}
+#endif
break;
case IEEE80211_S_RUN:
Home |
Main Index |
Thread Index |
Old Index