summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-10-06 20:41:21 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 20:39:48 (GMT)
commit5b367378ee826b0566e51d32b78b00ce24eac8f9 (patch)
tree4ae96c26ae8c5f525b1d5d38fa23d2f773d25318 /drivers
parent0adc23f58e21cb47be998063ea1b82de33ccdd46 (diff)
downloadlinux-fsl-qoriq-5b367378ee826b0566e51d32b78b00ce24eac8f9.tar.xz
iwmc3200wifi: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/main.c b/drivers/net/wireless/iwmc3200wifi/main.c
index d668e47..170f337 100644
--- a/drivers/net/wireless/iwmc3200wifi/main.c
+++ b/drivers/net/wireless/iwmc3200wifi/main.c
@@ -637,6 +637,8 @@ static int __iwm_up(struct iwm_priv *iwm)
IWM_ERR(iwm, "MAC reading failed\n");
goto err_disable;
}
+ memcpy(iwm_to_ndev(iwm)->perm_addr, iwm_to_ndev(iwm)->dev_addr,
+ ETH_ALEN);
/* We can load the FWs */
ret = iwm_load_fw(iwm);