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 Avoid crash.



details:   https://anonhg.NetBSD.org/src-all/rev/4dd67e6cdd94
branches:  trunk
changeset: 367245:4dd67e6cdd94
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Fri Apr 08 23:35:18 2022 +1000

description:
Avoid crash.

diffstat:

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

diffs (11 lines):

diff -r 41d5b3f68d6d -r 4dd67e6cdd94 sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Fri Apr 08 23:34:46 2022 +1000
+++ b/sys/dev/usb/if_urtwn.c    Fri Apr 08 23:35:18 2022 +1000
@@ -2086,7 +2086,6 @@
        URTWNHIST_FUNC();
        URTWNHIST_CALLARGS("rate=%jd", rate, 0, 0, 0);
 
-       usbwifi_isowned_ic(&sc->sc_uw);
        if (rate <= 3) {
                cck = (struct r92c_rx_cck *)physt;
                if (ISSET(sc->sc_uw.uw_flags, URTWN_FLAG_CCK_HIPWR)) {



Home | Main Index | Thread Index | Old Index