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/129d990e895b
branches:  trunk
changeset: 375814:129d990e895b
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 81970f56e02f -r 129d990e895b 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