aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/uwb')
-rw-r--r--drivers/uwb/wlp/eda.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/uwb/wlp/eda.c b/drivers/uwb/wlp/eda.c
index 0b4659e4bbd7..69e020039718 100644
--- a/drivers/uwb/wlp/eda.c
+++ b/drivers/uwb/wlp/eda.c
@@ -351,19 +351,13 @@ ssize_t wlp_eda_show(struct wlp *wlp, char *buf)
351 "tag state virt_addr\n"); 351 "tag state virt_addr\n");
352 list_for_each_entry(entry, &eda->cache, list_node) { 352 list_for_each_entry(entry, &eda->cache, list_node) {
353 result += scnprintf(buf + result, PAGE_SIZE - result, 353 result += scnprintf(buf + result, PAGE_SIZE - result,
354 "%02x:%02x:%02x:%02x:%02x:%02x %02x:%02x " 354 "%pM %02x:%02x %p 0x%02x %s %pM\n",
355 "%p 0x%02x %s " 355 entry->eth_addr,
356 "%02x:%02x:%02x:%02x:%02x:%02x\n",
357 entry->eth_addr[0], entry->eth_addr[1],
358 entry->eth_addr[2], entry->eth_addr[3],
359 entry->eth_addr[4], entry->eth_addr[5],
360 entry->dev_addr.data[1], 356 entry->dev_addr.data[1],
361 entry->dev_addr.data[0], entry->wss, 357 entry->dev_addr.data[0], entry->wss,
362 entry->tag, 358 entry->tag,
363 wlp_wss_connect_state_str(entry->state), 359 wlp_wss_connect_state_str(entry->state),
364 entry->virt_addr[0], entry->virt_addr[1], 360 entry->virt_addr);
365 entry->virt_addr[2], entry->virt_addr[3],
366 entry->virt_addr[4], entry->virt_addr[5]);
367 if (result >= PAGE_SIZE) 361 if (result >= PAGE_SIZE)
368 break; 362 break;
369 } 363 }