diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-07-15 05:58:30 -0700 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-07-23 08:42:31 -0700 |
commit | c6fa17ed3fadaf056173c409c0877df428a152ec (patch) | |
tree | fb9a2a294b29e919a6e467f4238c1dfad602df6e /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | 0bc5774f4e1df0204e68bfcd84e122d430dcf35c (diff) | |
download | lwn-c6fa17ed3fadaf056173c409c0877df428a152ec.tar.gz lwn-c6fa17ed3fadaf056173c409c0877df428a152ec.zip |
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.h | 3 |
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 { u32 hw_wa_rev; u8 rev_id; + /* EEPROM MAC addresses */ + struct mac_address addresses[2]; + /* uCode images, save to reload in case of failure */ int fw_index; /* firmware we're trying to load */ u32 ucode_ver; /* version of ucode, copy of |