Ver código fonte

ieee80211: update orinoco, wl3501 drivers for latest struct naming

James Ketrenos 20 anos atrás
pai
commit
af9288a707
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      drivers/net/wireless/orinoco.c
  2. 1 1
      drivers/net/wireless/wl3501.h

+ 1 - 1
drivers/net/wireless/orinoco.c

@@ -636,7 +636,7 @@ static void __orinoco_ev_txexc(struct net_device *dev, hermes_t *hw)
 	/* Read the frame header */
 	err = hermes_bap_pread(hw, IRQ_BAP, &hdr,
 			       sizeof(struct hermes_tx_descriptor) +
-			       sizeof(struct ieee80211_hdr),
+			       sizeof(struct ieee80211_hdr_4addr),
 			       fid, 0);
 
 	hermes_write_regn(hw, TXCOMPLFID, DUMMY_FID);

+ 1 - 1
drivers/net/wireless/wl3501.h

@@ -548,7 +548,7 @@ struct wl3501_80211_tx_plcp_hdr {
 
 struct wl3501_80211_tx_hdr {
 	struct wl3501_80211_tx_plcp_hdr	pclp_hdr;
-	struct ieee80211_hdr		mac_hdr;
+	struct ieee80211_hdr_4addr		mac_hdr;
 } __attribute__ ((packed));
 
 /*