diff options
| author | Pyun YongHyeon <yongari@FreeBSD.org> | 2010-03-10 21:45:40 +0000 |
|---|---|---|
| committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2010-03-10 21:45:40 +0000 |
| commit | 3c7703ea8bb34d3702833c8d83bf2ee1733a6ca3 (patch) | |
| tree | 322eeadf04398e1a1dc99d62035a41bb83af8363 /sys/dev/bwn | |
| parent | fa8b4d63db00974298340e87e8d9f7592e618490 (diff) | |
Notes
Diffstat (limited to 'sys/dev/bwn')
| -rw-r--r-- | sys/dev/bwn/if_bwn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index b79e9d00ff20..973ba85ba41b 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -10381,10 +10381,9 @@ bwn_rx_radiotap(struct bwn_mac *mac, struct mbuf *m, static void bwn_tsf_read(struct bwn_mac *mac, uint64_t *tsf) { - struct bwn_softc *sc = mac->mac_sc; uint32_t low, high; - KASSERT(siba_get_revid(sc->sc_dev) >= 3, + KASSERT(siba_get_revid(mac->mac_sc->sc_dev) >= 3, ("%s:%d: fail", __func__, __LINE__)); low = BWN_READ_4(mac, BWN_REV3PLUS_TSF_LOW); |
