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/ecb5229da6ce
branches:  trunk
changeset: 375184:ecb5229da6ce
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 49a0eb746d7f -r ecb5229da6ce 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