diff options
author | sam <sam@FreeBSD.org> | 2006-02-13 18:40:53 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-02-13 18:40:53 +0000 |
commit | fb9447d31f9a67a166303e8d7ec54343235b094c (patch) | |
tree | e28bdd9d8e70d3b5d050898c8db29e31b39f5164 /sys/dev/ath | |
parent | a75c71b5e126eeca4e68e35d32c2779b82d59d6c (diff) | |
download | FreeBSD-src-fb9447d31f9a67a166303e8d7ec54343235b094c.zip FreeBSD-src-fb9447d31f9a67a166303e8d7ec54343235b094c.tar.gz |
fix comment and whitespace
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/ath_rate/sample/sample.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c index 3650707..c8a1cf7 100644 --- a/sys/dev/ath/ath_rate/sample/sample.c +++ b/sys/dev/ath/ath_rate/sample/sample.c @@ -654,8 +654,7 @@ ath_rate_ctl_reset(struct ath_softc *sc, struct ieee80211_node *ni) * A fixed rate is to be used; ic_fixed_rate is an * index into the supported rate set. Convert this * to the index into the negotiated rate set for - * the node. We know the rate is there because the - * rate set is checked when the station associates. + * the node. */ const struct ieee80211_rateset *rs = &ic->ic_sup_rates[ic->ic_curmode]; @@ -666,7 +665,7 @@ ath_rate_ctl_reset(struct ath_softc *sc, struct ieee80211_node *ni) ; KASSERT(srate >= 0, ("fixed rate %d not in rate set", ic->ic_fixed_rate)); - sn->static_rate_ndx = srate; + sn->static_rate_ndx = srate; } DPRINTF(sc, "%s: %s size 1600 rate/tt", __func__, ether_sprintf(ni->ni_macaddr)); |