summaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2009-04-13 20:54:08 +0000
committerSam Leffler <sam@FreeBSD.org>2009-04-13 20:54:08 +0000
commit5e86169a67f829cbca6889847a3c9b914781f4d0 (patch)
tree617741004177a2c3be65171a8ff19fbfdc5d9551 /sys/dev/ath
parent5434ed5af3cc4f6c4893597be8069d05e10f5dad (diff)
Notes
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_rate/sample/sample.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c
index b51b45f421b7..abdab6a397da 100644
--- a/sys/dev/ath/ath_rate/sample/sample.c
+++ b/sys/dev/ath/ath_rate/sample/sample.c
@@ -766,6 +766,15 @@ ath_rate_ctl_reset(struct ath_softc *sc, struct ieee80211_node *ni)
sn->static_rix = sc->sc_rixmap[tp->ucastrate];
break;
}
+#ifdef IEEE80211_DEBUG
+ if (sn->static_rix == -1) {
+ IEEE80211_NOTE(ni->ni_vap,
+ IEEE80211_MSG_RATECTL, ni,
+ "%s: ucastrate %u not found, nrates %u",
+ __func__, tp->ucastrate,
+ ni->ni_rates.rs_nrates);
+ }
+#endif
}
/*