Skip to content

Commit

Permalink
staging: gdm72xx: use %pM for MAC
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Ben Chan <benchan@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Andy Shevchenko authored and Greg Kroah-Hartman committed Jul 6, 2012
1 parent 075fb4b commit e7ecb0f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions drivers/staging/gdm72xx/gdm_wimax.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,13 +744,8 @@ static int gdm_wimax_get_prepared_info(struct net_device *dev, char *buf,
"[%x/%d]\n", __func__, T, L);
return -1;
}
printk(KERN_INFO
"MAC change [%02x:%02x:%02x:%02x:%02x:%02x]"
"->[%02x:%02x:%02x:%02x:%02x:%02x]\n",
dev->dev_addr[0], dev->dev_addr[1],
dev->dev_addr[2], dev->dev_addr[3],
dev->dev_addr[4], dev->dev_addr[5],
V[0], V[1], V[2], V[3], V[4], V[5]);
printk(KERN_INFO "MAC change [%pM]->[%pM]\n",
dev->dev_addr, V);
memcpy(dev->dev_addr, V, dev->addr_len);
return 1;
}
Expand Down

0 comments on commit e7ecb0f

Please sign in to comment.