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 Dont fake an association to initialize the...



details:   https://anonhg.NetBSD.org/src-all/rev/ae3d1e0e6f44
branches:  trunk
changeset: 375501:ae3d1e0e6f44
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sat Jun 20 08:29:05 2020 +1000

description:
Dont fake an association to initialize the rate as it screws
up the state machine.

diffstat:

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

diffs (12 lines):

diff -r be8b0c9d431c -r ae3d1e0e6f44 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Sat Jun 20 08:28:08 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Sat Jun 20 08:29:05 2020 +1000
@@ -5466,7 +5466,7 @@ iwn_run(struct ieee80211vap *vap)
 
        /* Fake a join to initialize the TX rate. */
        ((struct iwn_node *)ni)->id = IWN_ID_BSS;
-       iwn_newassoc(ni, 1);
+//     iwn_newassoc(ni, 1);
 
        /* Add BSS node. */
        memset(&node, 0, sizeof node);



Home | Main Index | Thread Index | Old Index