diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-10-04 13:50:01 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-10-04 13:50:01 +0000 |
commit | 54686bf81709f358cb16c969982256717d0e4b38 (patch) | |
tree | 4eabf67a1d11473545239a59a39a2d688393d09c /sys/dev | |
parent | eca63f51b4889b017b43ae683191dc25ffa30bc1 (diff) |
fix a bug in Tx descriptor processing.
found by David Malone
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ar5210.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/ar5211.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/ar5210.c b/sys/dev/ic/ar5210.c index 8e735f09404..412b16fc919 100644 --- a/sys/dev/ic/ar5210.c +++ b/sys/dev/ic/ar5210.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5210.c,v 1.30 2005/09/19 10:27:08 reyk Exp $ */ +/* $OpenBSD: ar5210.c,v 1.31 2005/10/04 13:50:00 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net> @@ -1088,7 +1088,7 @@ ar5k_ar5210_proc_tx_desc(struct ath_hal *hal, struct ath_desc *desc) AR5K_AR5210_DESC_TX_STATUS1_ACK_SIG_STRENGTH); desc->ds_us.tx.ts_antenna = 1; desc->ds_us.tx.ts_status = 0; - desc->ds_us.tx.ts_tstamp = + desc->ds_us.tx.ts_rate = AR5K_REG_MS(tx_desc->tx_control_0, AR5K_AR5210_DESC_TX_CTL0_XMIT_RATE); diff --git a/sys/dev/ic/ar5211.c b/sys/dev/ic/ar5211.c index b0cf4db7a91..f6b8f685dcf 100644 --- a/sys/dev/ic/ar5211.c +++ b/sys/dev/ic/ar5211.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5211.c,v 1.22 2005/09/19 10:27:08 reyk Exp $ */ +/* $OpenBSD: ar5211.c,v 1.23 2005/10/04 13:50:00 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net> @@ -1194,7 +1194,7 @@ ar5k_ar5211_proc_tx_desc(struct ath_hal *hal, struct ath_desc *desc) AR5K_AR5211_DESC_TX_STATUS1_ACK_SIG_STRENGTH); desc->ds_us.tx.ts_antenna = 1; desc->ds_us.tx.ts_status = 0; - desc->ds_us.tx.ts_tstamp = + desc->ds_us.tx.ts_rate = AR5K_REG_MS(tx_desc->tx_control_0, AR5K_AR5211_DESC_TX_CTL0_XMIT_RATE); |