aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-07-15 08:58:30 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-07-23 11:42:31 -0400
commitc6fa17ed3fadaf056173c409c0877df428a152ec (patch)
treefb9a2a294b29e919a6e467f4238c1dfad602df6e /drivers/net/wireless/iwlwifi/iwl-dev.h
parent0bc5774f4e1df0204e68bfcd84e122d430dcf35c (diff)
iwlwifi: read multiple MAC addresses
Some devices may have multiple MAC addresses in their EEPROM, read them and advertise them to cfg80211. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 4fa8cdd8f96c..5e4745db5dc6 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1154,6 +1154,9 @@ struct iwl_priv {
1154 u32 hw_wa_rev; 1154 u32 hw_wa_rev;
1155 u8 rev_id; 1155 u8 rev_id;
1156 1156
1157 /* EEPROM MAC addresses */
1158 struct mac_address addresses[2];
1159
1157 /* uCode images, save to reload in case of failure */ 1160 /* uCode images, save to reload in case of failure */
1158 int fw_index; /* firmware we're trying to load */ 1161 int fw_index; /* firmware we're trying to load */
1159 u32 ucode_ver; /* version of ucode, copy of 1162 u32 ucode_ver; /* version of ucode, copy of