aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-10-06 16:45:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:48 -0400
commit5e5eab5dd4339b66e9e59695812fd4b96c3bb1c0 (patch)
tree48d8680e8476bd6fc63eaa858b8ee8ae85d6c1ca
parent5b367378ee826b0566e51d32b78b00ce24eac8f9 (diff)
ipw2200: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.c1
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)
11275 if (!(priv->config & CFG_CUSTOM_MAC)) 11275 if (!(priv->config & CFG_CUSTOM_MAC))
11276 eeprom_parse_mac(priv, priv->mac_addr); 11276 eeprom_parse_mac(priv, priv->mac_addr);
11277 memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN); 11277 memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN);
11278 memcpy(priv->net_dev->perm_addr, priv->mac_addr, ETH_ALEN);
11278 11279
11279 for (j = 0; j < ARRAY_SIZE(ipw_geos); j++) { 11280 for (j = 0; j < ARRAY_SIZE(ipw_geos); j++) {
11280 if (!memcmp(&priv->eeprom[EEPROM_COUNTRY_CODE], 11281 if (!memcmp(&priv->eeprom[EEPROM_COUNTRY_CODE],