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/11a5a598e40d
branches:  trunk
changeset: 367670:11a5a598e40d
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 ea4edfb48b95 -r 11a5a598e40d 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