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/87b1501c7f51
branches:  trunk
changeset: 367217:87b1501c7f51
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 e4fbdfc6c4c4 -r 87b1501c7f51 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