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/54bde7e7bdbc
branches:  trunk
changeset: 363348:54bde7e7bdbc
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 b1b021958c70 -r 54bde7e7bdbc 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