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/49a397b44e95
branches:  trunk
changeset: 375239:49a397b44e95
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 6c8caabeb379 -r 49a397b44e95 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 @@ urtwn_get_rssi(struct urtwn_softc *sc, i
        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