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 Restore faking an association in order to ...



details:   https://anonhg.NetBSD.org/src-all/rev/ff6d6cc4a58b
branches:  trunk
changeset: 948526:ff6d6cc4a58b
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Wed Jul 01 12:30:22 2020 +1000

description:
Restore faking an association in order to initialize tx rate.

diffstat:

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

diffs (12 lines):

diff -r 9b6e8c57eef5 -r ff6d6cc4a58b sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Wed Jul 01 12:29:29 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Wed Jul 01 12:30:22 2020 +1000
@@ -5404,7 +5404,7 @@
 
        /* 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