summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/prism54/oid_mgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/prism54/oid_mgt.c')
-rw-r--r--drivers/net/wireless/prism54/oid_mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/oid_mgt.c b/drivers/net/wireless/prism54/oid_mgt.c
index a01606b36e03..056af38e72e3 100644
--- a/drivers/net/wireless/prism54/oid_mgt.c
+++ b/drivers/net/wireless/prism54/oid_mgt.c
@@ -682,7 +682,7 @@ mgt_update_addr(islpci_private *priv)
isl_oid[GEN_OID_MACADDRESS].size, &res);
if ((ret == 0) && res && (res->header->operation != PIMFOR_OP_ERROR))
- memcpy(priv->ndev->dev_addr, res->data, 6);
+ memcpy(priv->ndev->dev_addr, res->data, ETH_ALEN);
else
ret = -EIO;
if (res)
OpenPOWER on IntegriCloud