diff options
author | sam <sam@FreeBSD.org> | 2005-03-20 01:55:02 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-03-20 01:55:02 +0000 |
commit | 2283a8840c1306c8a636629e0796cd2148d9bf0e (patch) | |
tree | 89cd593ed5c36de82328fad35c41539db958c0da | |
parent | 6a44674e68d296ac5b47e91e6dfad8e98892a0b3 (diff) | |
download | FreeBSD-src-2283a8840c1306c8a636629e0796cd2148d9bf0e.zip FreeBSD-src-2283a8840c1306c8a636629e0796cd2148d9bf0e.tar.gz |
fix braino introduced when converting from madwifi
-rw-r--r-- | sys/dev/ath/ath_rate/sample/sample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c index adbdad3..3e8d25c 100644 --- a/sys/dev/ath/ath_rate/sample/sample.c +++ b/sys/dev/ath/ath_rate/sample/sample.c @@ -509,7 +509,7 @@ ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, const struct ath_desc *ds) { struct sample_node *sn = ATH_NODE_SAMPLE(an); - const struct ar5212_desc *ads = (const struct ar5212_desc *)ds; + const struct ar5212_desc *ads = (const struct ar5212_desc *)&ds->ds_ctl0; int final_rate, short_tries, long_tries, frame_size; int ndx = -1; |