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/bf95773171bd
branches:  trunk
changeset: 368106:bf95773171bd
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 6107962f40b2 -r bf95773171bd 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
@@ -2087,7 +2087,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