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 Pipes / chains separation for run(4).



details:   https://anonhg.NetBSD.org/src-all/rev/2258be6fe12e
branches:  trunk
changeset: 377946:2258be6fe12e
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sun Jan 02 12:03:23 2022 +1100

description:
Pipes / chains separation for run(4).

diffstat:

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

diffs (14 lines):

diff -r bd782fe6a6f1 -r 2258be6fe12e sys/dev/usb/if_run.c
--- a/sys/dev/usb/if_run.c      Sun Jan 02 11:50:12 2022 +1100
+++ b/sys/dev/usb/if_run.c      Sun Jan 02 12:03:23 2022 +1100
@@ -747,8 +747,8 @@ run_attach(device_t parent, device_t sel
        run_get_radiocaps(ic, IEEE80211_CHAN_MAX, &ic->ic_nchans, 
            ic->ic_channels);
 
-       usbwifi_ic_attach(&sc->sc_uw, ntx, nrx,
-               IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
+       usbwifi_ic_attach(&sc->sc_uw, sc->ntxchains, sc->nrxchains, ntx,
+           nrx, IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST);
 
        ic->ic_getradiocaps = run_get_radiocaps;
        ic->ic_node_alloc = run_node_alloc;



Home | Main Index | Thread Index | Old Index