diff options
author | John W. Linville <linville@tuxdriver.com> | 2009-10-06 22:45:14 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 22:39:48 +0200 |
commit | 5e5eab5dd4339b66e9e59695812fd4b96c3bb1c0 (patch) | |
tree | 48d8680e8476bd6fc63eaa858b8ee8ae85d6c1ca /drivers/net/wireless/ipw2x00/ipw2200.c | |
parent | iwmc3200wifi: support ETHTOOL_GPERMADDR (diff) | |
download | linux-5e5eab5dd4339b66e9e59695812fd4b96c3bb1c0.tar.xz linux-5e5eab5dd4339b66e9e59695812fd4b96c3bb1c0.zip |
ipw2200: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 8d58e6ed4e7d..61ef8904af97 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c @@ -11275,6 +11275,7 @@ static int ipw_up(struct ipw_priv *priv) if (!(priv->config & CFG_CUSTOM_MAC)) eeprom_parse_mac(priv, priv->mac_addr); memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN); + memcpy(priv->net_dev->perm_addr, priv->mac_addr, ETH_ALEN); for (j = 0; j < ARRAY_SIZE(ipw_geos); j++) { if (!memcmp(&priv->eeprom[EEPROM_COUNTRY_CODE], |