diff options
author | sam <sam@FreeBSD.org> | 2008-11-30 18:56:41 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-11-30 18:56:41 +0000 |
commit | 09946e3bd38e0823bb1e97167d171076ef612914 (patch) | |
tree | c0157017f79fa1af556bb7237587f1f792c92749 /sys/dev/ath | |
parent | 87ae668c80e48b515a3d63894f52fa9989da3505 (diff) | |
download | FreeBSD-src-09946e3bd38e0823bb1e97167d171076ef612914.zip FreeBSD-src-09946e3bd38e0823bb1e97167d171076ef612914.tar.gz |
sync w/ p4 branch
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/if_ath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index cd5e4c1..84bafd8 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -1266,7 +1266,8 @@ ath_fatal_proc(void *arg, int pending) static void ath_bmiss_vap(struct ieee80211vap *vap) { - struct ath_softc *sc = vap->iv_ic->ic_ifp->if_softc; + struct ifnet *ifp = vap->iv_ic->ic_ifp; + struct ath_softc *sc = ifp->if_softc; u_int64_t lastrx = sc->sc_lastrx; u_int64_t tsf = ath_hal_gettsf64(sc->sc_ah); u_int bmisstimeout = |