diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-03-19 18:21:32 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-03-19 18:21:32 +0000 |
commit | 8a32744f447fc53ca0401c74ff41d6a55b9df86f (patch) | |
tree | d1aa72217e21d1fe838e24b5386ab480778db752 /sys/dev/ic/ar5212.c | |
parent | 5023fb2558e98d84e2eb680b4696bdbd4b952e2d (diff) |
ar5212 uses larger tx descriptors, adjust the offset
Diffstat (limited to 'sys/dev/ic/ar5212.c')
-rw-r--r-- | sys/dev/ic/ar5212.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5212.c b/sys/dev/ic/ar5212.c index 87a02b651c2..496b4e5e1e2 100644 --- a/sys/dev/ic/ar5212.c +++ b/sys/dev/ic/ar5212.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5212.c,v 1.8 2005/03/19 17:27:46 reyk Exp $ */ +/* $OpenBSD: ar5212.c,v 1.9 2005/03/19 18:21:31 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net> @@ -1386,7 +1386,7 @@ ar5k_ar5212_procTxDesc(hal, desc) struct ar5k_ar5212_tx_desc *tx_desc; tx_desc = (struct ar5k_ar5212_tx_desc*)&desc->ds_ctl0; - tx_status = (struct ar5k_ar5212_tx_status*)&desc->ds_hw[0]; + tx_status = (struct ar5k_ar5212_tx_status*)&desc->ds_hw[2]; /* No frame has been send or error */ if (tx_status->done == 0) |