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/f4b6781bdf46
branches:  trunk
changeset: 362396:f4b6781bdf46
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 be4d649c005f -r f4b6781bdf46 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_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