forked from Minki/linux
ipw2200: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
5b367378ee
commit
5e5eab5dd4
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user