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/11887ce52f9b
branches:  trunk
changeset: 371142:11887ce52f9b
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 e6375a9d8350 -r 11887ce52f9b 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