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/77996b2e3d7c
branches:  trunk
changeset: 367642:77996b2e3d7c
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 93ce8a44912f -r 77996b2e3d7c 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