fix braino introduced when converting from madwifi

This commit is contained in:
Sam Leffler 2005-03-20 01:55:02 +00:00
parent 57a4a75853
commit eb9883565a

View File

@ -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;