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/fb449d7d5d9e
branches:  trunk
changeset: 951055:fb449d7d5d9e
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 29d5eb66d1a4 -r fb449d7d5d9e 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