diff --git a/[refs] b/[refs] index e4cdd82e9460..3b905e1df814 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d30dc9a2f2f0a80ee1b11d3565ccd3ae83a26df4 +refs/heads/master: 8dab24ce3e90219794a9ac28d79d22e528920b06 diff --git a/trunk/drivers/staging/brcm80211/util/bcmutils.c b/trunk/drivers/staging/brcm80211/util/bcmutils.c index 364f837fb080..c6c63a8bd106 100644 --- a/trunk/drivers/staging/brcm80211/util/bcmutils.c +++ b/trunk/drivers/staging/brcm80211/util/bcmutils.c @@ -792,10 +792,7 @@ int BCMROMFN(bcm_ether_atoe) (char *p, struct ether_addr * ea) { char *bcm_ether_ntoa(const struct ether_addr *ea, char *buf) { - static const char template[] = "%02x:%02x:%02x:%02x:%02x:%02x"; - snprintf(buf, 18, template, - ea->octet[0] & 0xff, ea->octet[1] & 0xff, ea->octet[2] & 0xff, - ea->octet[3] & 0xff, ea->octet[4] & 0xff, ea->octet[5] & 0xff); + snprintf(buf, 18, "%pM", ea->octet); return (buf); }