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/0b5d12c8ccb4
branches:  trunk
changeset: 939288:0b5d12c8ccb4
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 c832961bd0d9 -r 0b5d12c8ccb4 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