PERFORCE change 152186 for review
Sam Leffler
sam at FreeBSD.org
Thu Oct 30 04:12:29 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=152186
Change 152186 by sam at 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++) {
More information about the p4-projects
mailing list