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/415c0a5a9784
branches:  trunk
changeset: 365098:415c0a5a9784
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 b5368549ec9d -r 415c0a5a9784 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