From eb9883565a6a7b077f47633f00471432a9309d0c Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sun, 20 Mar 2005 01:55:02 +0000 Subject: fix braino introduced when converting from madwifi --- sys/dev/ath/ath_rate/sample/sample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c index adbdad3dcb704..3e8d25c486f48 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; -- cgit v1.3