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 Exclude the call to iwm_newassoc completel...



details:   https://anonhg.NetBSD.org/src-all/rev/fab19c4f69f8
branches:  trunk
changeset: 986834:fab19c4f69f8
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 03 22:13:24 2020 +1000

description:
Exclude the call to iwm_newassoc completely from iwm_newstate as it is
handled entirely by the wifi stack.

diffstat:

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

diffs (14 lines):

diff -r 52fa02c3c951 -r fab19c4f69f8 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 03 22:10:46 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 03 22:13:24 2020 +1000
@@ -6352,9 +6352,9 @@
                break;
 
        case IEEE80211_S_ASSOC:
+#if 0
                in = vap->iv_bss;
                iwm_newassoc(in, 1);
-#if 0
                if (err) {
                        DPRINTF(("%s: failed to associate: %d\n", DEVNAME(sc),
                            err));



Home | Main Index | Thread Index | Old Index