diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-05-12 06:33:11 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-06-06 02:14:04 -0400 |
commit | 7684c4083114e0f0cc02f3a7cbef27b1e29381cd (patch) | |
tree | 0ee6a5ba23a37cd7bfbd408cf8821b2c9879c5c2 /drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |
parent | 30eabc1736c79d9b617887042ebebc0141a14170 (diff) |
iwlwifi: set MAC address in RXON from interface
When we do not have an interface, priv->mac_addr
is all zeroes, so the memcpy() is not useful as
the RXON buffer has been cleared previously.
Therefore, use the interface's address that we
are setting up the RXON for, if available.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-lib.c')
0 files changed, 0 insertions, 0 deletions