aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/orinoco.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c
index 1ae301c62281..78afbc7f08be 100644
--- a/drivers/net/wireless/orinoco.c
+++ b/drivers/net/wireless/orinoco.c
@@ -623,10 +623,10 @@ static void __orinoco_ev_txexc(struct net_device *dev, hermes_t *hw)
623 if (fid == DUMMY_FID) 623 if (fid == DUMMY_FID)
624 return; /* Nothing's really happened */ 624 return; /* Nothing's really happened */
625 625
626 /* Read the frame header */ 626 /* Read part of the frame header - we need status and addr1 */
627 err = hermes_bap_pread(hw, IRQ_BAP, &hdr, 627 err = hermes_bap_pread(hw, IRQ_BAP, &hdr,
628 sizeof(struct hermes_tx_descriptor) + 628 offsetof(struct hermes_tx_descriptor_802_11,
629 sizeof(struct ieee80211_hdr_4addr), 629 addr2),
630 fid, 0); 630 fid, 0);
631 631
632 hermes_write_regn(hw, TXCOMPLFID, DUMMY_FID); 632 hermes_write_regn(hw, TXCOMPLFID, DUMMY_FID);