aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/address.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/uwb/address.c')
-rw-r--r--drivers/uwb/address.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/uwb/address.c b/drivers/uwb/address.c
index 973321327c44..8739c4f4d015 100644
--- a/drivers/uwb/address.c
+++ b/drivers/uwb/address.c
@@ -363,10 +363,7 @@ size_t __uwb_addr_print(char *buf, size_t buf_size, const unsigned char *addr,
363{ 363{
364 size_t result; 364 size_t result;
365 if (type) 365 if (type)
366 result = scnprintf(buf, buf_size, 366 result = scnprintf(buf, buf_size, "%pM", addr);
367 "%02x:%02x:%02x:%02x:%02x:%02x",
368 addr[0], addr[1], addr[2],
369 addr[3], addr[4], addr[5]);
370 else 367 else
371 result = scnprintf(buf, buf_size, "%02x:%02x", 368 result = scnprintf(buf, buf_size, "%02x:%02x",
372 addr[1], addr[0]); 369 addr[1], addr[0]);