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 Add missing rnd_detach_source()



details:   https://anonhg.NetBSD.org/src-all/rev/d31db6bba271
branches:  trunk
changeset: 368078:d31db6bba271
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Mon Feb 21 20:47:19 2022 +0100

description:
Add missing rnd_detach_source()

diffstat:

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

diffs (11 lines):

diff -r c9c9c173f55c -r d31db6bba271 sys/dev/usb/usbwifi.c
--- a/sys/dev/usb/usbwifi.c     Mon Feb 21 17:19:12 2022 +0100
+++ b/sys/dev/usb/usbwifi.c     Mon Feb 21 20:47:19 2022 +0100
@@ -1272,6 +1272,7 @@
        }
 
        callout_halt(&uwp->uwp_stat_ch, NULL);
+       rnd_detach_source(&uwp->uwp_rndsrc);
        usb_rem_task_wait(uw->uw_udev, &uwp->uwp_ticktask, USB_TASKQ_DRIVER,
            NULL);
 



Home | Main Index | Thread Index | Old Index