diff options
author | John W. Linville <linville@tuxdriver.com> | 2009-10-06 16:41:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:48 -0400 |
commit | 5b367378ee826b0566e51d32b78b00ce24eac8f9 (patch) | |
tree | 4ae96c26ae8c5f525b1d5d38fa23d2f773d25318 /drivers/net/wireless/iwmc3200wifi | |
parent | 0adc23f58e21cb47be998063ea1b82de33ccdd46 (diff) | |
download | op-kernel-dev-5b367378ee826b0566e51d32b78b00ce24eac8f9.zip op-kernel-dev-5b367378ee826b0566e51d32b78b00ce24eac8f9.tar.gz |
iwmc3200wifi: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/main.c | 2 |
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); |