Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2008 04:12:28 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 152186 for review
Message-ID:  <200810300412.m9U4CS2N051596@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152186

Change 152186 by sam@sam_ebb on 2008/10/30 04:11:42

	fix build w/o IEEE80211_DEBUG

Affected files ...

.. //depot/projects/vap/sys/dev/ath/ath_rate/sample/sample.c#19 edit

Differences ...

==== //depot/projects/vap/sys/dev/ath/ath_rate/sample/sample.c#19 (text+ko) ====

@@ -699,7 +699,6 @@
 	struct sample_node *sn = ATH_NODE_SAMPLE(an);
 	const HAL_RATE_TABLE *rt = sc->sc_currates;
 	int x, y, srate, rix;
-	uint32_t mask;
 
 	KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
 
@@ -750,6 +749,8 @@
 	}
 #ifdef IEEE80211_DEBUG
 	if (ieee80211_msg(ni->ni_vap, IEEE80211_MSG_RATECTL)) {
+		uint32_t mask;
+
 		ieee80211_note(ni->ni_vap, "[%6D] %s: size 1600 rate/tt",
 		    ni->ni_macaddr, ":", __func__);
 		for (mask = sn->ratemask, rix = 0; mask != 0; mask >>= 1, rix++) {



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