aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ray_cs.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2009-05-11 19:37:15 -0400
committerDavid S. Miller <davem@davemloft.net>2009-05-17 14:59:47 -0400
commit3a6d54c56326c29c5357655779cfe6cf36481b17 (patch)
tree1c2f47eecebe98b8501d884cf482a8b777171cd7 /drivers/net/wireless/ray_cs.c
parent8b3521eeb7598c3b10c7e14361a7974464527702 (diff)
net: remove needless (now buggy) & from dev->dev_addr
Patch fixes issues with dev->dev_addr changing from array to pointer. Hopefully there are no others. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r--drivers/net/wireless/ray_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index fa90d1d8d82e..22e71856aa24 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -892,7 +892,7 @@ static int ray_dev_init(struct net_device *dev)
892#endif /* RAY_IMMEDIATE_INIT */ 892#endif /* RAY_IMMEDIATE_INIT */
893 893
894 /* copy mac and broadcast addresses to linux device */ 894 /* copy mac and broadcast addresses to linux device */
895 memcpy(&dev->dev_addr, &local->sparm.b4.a_mac_addr, ADDRLEN); 895 memcpy(dev->dev_addr, &local->sparm.b4.a_mac_addr, ADDRLEN);
896 memset(dev->broadcast, 0xff, ETH_ALEN); 896 memset(dev->broadcast, 0xff, ETH_ALEN);
897 897
898 DEBUG(2, "ray_dev_init ending\n"); 898 DEBUG(2, "ray_dev_init ending\n");