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 Use vap ic in urtwn_reset.



details:   https://anonhg.NetBSD.org/src-all/rev/e1c168c970af
branches:  trunk
changeset: 376854:e1c168c970af
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sun Aug 16 07:11:57 2020 +1000

description:
Use vap ic in urtwn_reset.

diffstat:

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

diffs (12 lines):

diff -r ea6ba7c84311 -r e1c168c970af sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Sun Aug 16 07:10:29 2020 +1000
+++ b/sys/dev/usb/if_urtwn.c    Sun Aug 16 07:11:57 2020 +1000
@@ -5849,7 +5849,7 @@ urtwn_reset(struct ieee80211vap *vap, u_
 {
        struct ifnet *ifp = vap->iv_ifp;
        struct urtwn_softc *sc = ifp->if_softc;
-       struct ieee80211com *ic = &sc->sc_ic;
+       struct ieee80211com *ic = vap->iv_ic;
        struct ifmediareq imr;
 
        if (ic->ic_opmode != IEEE80211_M_MONITOR)



Home | Main Index | Thread Index | Old Index