diff options
author | sam <sam@FreeBSD.org> | 2006-02-15 18:15:49 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-02-15 18:15:49 +0000 |
commit | 45fecb1f8a12279d38265dc9f0045abc010f06ea (patch) | |
tree | be26a1517360c9ef48ca87a0e44af34c44e75cf8 /sys/dev/ath | |
parent | 7804458943a025fdabffa74a2b37967fb9b9d7bb (diff) | |
download | FreeBSD-src-45fecb1f8a12279d38265dc9f0045abc010f06ea.zip FreeBSD-src-45fecb1f8a12279d38265dc9f0045abc010f06ea.tar.gz |
fixup comments
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/if_ath.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index c0cb150..a5de2d0 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -2004,10 +2004,10 @@ ath_beacon_proc(void *arg, int pending) } /* * Check if the previous beacon has gone out. If - * not don't don't try to post another, skip this - * period and wait for the next. Missed beacons - * indicate a problem and should not occur. If we - * miss too many consecutive beacons reset the device. + * not don't try to post another, skip this period + * and wait for the next. Missed beacons indicate + * a problem and should not occur. If we miss too + * many consecutive beacons reset the device. */ if (ath_hal_numtxpending(ah, sc->sc_bhalq) != 0) { sc->sc_bmisscount++; @@ -2562,7 +2562,6 @@ ath_node_getrssi(const struct ieee80211_node *ni) rssi = HAL_EP_RND(avgrssi, HAL_RSSI_EP_MULTIPLIER); else rssi = ni->ni_rssi; - /* NB: theoretically we shouldn't need this, but be paranoid */ return rssi < 0 ? 0 : rssi > 127 ? 127 : rssi; #undef HAL_EP_RND } @@ -2910,7 +2909,7 @@ rx_accept: /* * Sync and unmap the frame. At this point we're * committed to passing the mbuf somewhere so clear - * bf_m; this means a new sk_buff must be allocated + * bf_m; this means a new mbuf must be allocated * when the rx descriptor is setup again to receive * another frame. */ |