Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 21:45:41 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204983 - head/sys/dev/bwn
Message-ID:  <201003102145.o2ALjfjg070789@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Wed Mar 10 21:45:40 2010
New Revision: 204983
URL: http://svn.freebsd.org/changeset/base/204983

Log:
  Fix build breakage introduced in r204922.

Modified:
  head/sys/dev/bwn/if_bwn.c

Modified: head/sys/dev/bwn/if_bwn.c
==============================================================================
--- head/sys/dev/bwn/if_bwn.c	Wed Mar 10 21:42:05 2010	(r204982)
+++ head/sys/dev/bwn/if_bwn.c	Wed Mar 10 21:45:40 2010	(r204983)
@@ -10381,10 +10381,9 @@ bwn_rx_radiotap(struct bwn_mac *mac, str
 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003102145.o2ALjfjg070789>