Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290497
b: refs/heads/master
c: 9100eb0
h: refs/heads/master
i:
  290495: f59afb8
v: v3
  • Loading branch information
David S. Miller committed Feb 28, 2012
1 parent 45a5485 commit 460e78f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0695512a57a8ad5c0495b2a3b23b3216434e3f92
refs/heads/master: 9100eb012a31dcc3f6eff1f09eb9e118b1e5b6c4
6 changes: 3 additions & 3 deletions trunk/drivers/net/ethernet/cirrus/mac89x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,13 +591,13 @@ static void set_multicast_list(struct net_device *dev)

static int set_mac_address(struct net_device *dev, void *addr)
{
int i;
struct sockaddr *saddr = addr;
int i;

if (!is_valid_ether_addr(addr->sa_data))
if (!is_valid_ether_addr(saddr->sa_data))
return -EADDRNOTAVAIL;

memcpy(dev->dev_addr, addr->sa_data, ETH_ALEN);
memcpy(dev->dev_addr, saddr->sa_data, ETH_ALEN);
printk("%s: Setting MAC address to %pM\n", dev->name, dev->dev_addr);

/* set the Ethernet address */
Expand Down

0 comments on commit 460e78f

Please sign in to comment.