aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/orinoco.c2
-rw-r--r--drivers/net/wireless/wl3501.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c
index 77e93a225530..fc2fa4dc3a08 100644
--- a/drivers/net/wireless/orinoco.c
+++ b/drivers/net/wireless/orinoco.c
@@ -636,7 +636,7 @@ static void __orinoco_ev_txexc(struct net_device *dev, hermes_t *hw)
636 /* Read the frame header */ 636 /* Read the frame header */
637 err = hermes_bap_pread(hw, IRQ_BAP, &hdr, 637 err = hermes_bap_pread(hw, IRQ_BAP, &hdr,
638 sizeof(struct hermes_tx_descriptor) + 638 sizeof(struct hermes_tx_descriptor) +
639 sizeof(struct ieee80211_hdr), 639 sizeof(struct ieee80211_hdr_4addr),
640 fid, 0); 640 fid, 0);
641 641
642 hermes_write_regn(hw, TXCOMPLFID, DUMMY_FID); 642 hermes_write_regn(hw, TXCOMPLFID, DUMMY_FID);
diff --git a/drivers/net/wireless/wl3501.h b/drivers/net/wireless/wl3501.h
index 7fcbe589c3f2..4303c50c2ab6 100644
--- a/drivers/net/wireless/wl3501.h
+++ b/drivers/net/wireless/wl3501.h
@@ -548,7 +548,7 @@ struct wl3501_80211_tx_plcp_hdr {
548 548
549struct wl3501_80211_tx_hdr { 549struct wl3501_80211_tx_hdr {
550 struct wl3501_80211_tx_plcp_hdr pclp_hdr; 550 struct wl3501_80211_tx_plcp_hdr pclp_hdr;
551 struct ieee80211_hdr mac_hdr; 551 struct ieee80211_hdr_4addr mac_hdr;
552} __attribute__ ((packed)); 552} __attribute__ ((packed));
553 553
554/* 554/*