Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/usb Use our custom node size.



details:   https://anonhg.NetBSD.org/src-all/rev/ed1ef9f3706a
branches:  trunk
changeset: 378034:ed1ef9f3706a
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Tue Sep 20 20:00:09 2022 +0200

description:
Use our custom node size.

diffstat:

 sys/dev/usb/if_run.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r a99027da17f5 -r ed1ef9f3706a sys/dev/usb/if_run.c
--- a/sys/dev/usb/if_run.c      Tue Sep 20 19:57:57 2022 +0200
+++ b/sys/dev/usb/if_run.c      Tue Sep 20 20:00:09 2022 +0200
@@ -744,6 +744,7 @@ run_attach(device_t parent, device_t sel
            nrx, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
 
        ic->ic_getradiocaps = run_get_radiocaps;
+       ic->ic_node_size = sizeof(struct run_node);
        ic->ic_newassoc = run_newassoc;
        ic->ic_updateslot = run_updateslot;
        ic->ic_wme.wme_update = run_updateedca;



Home | Main Index | Thread Index | Old Index