aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/bpqether.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hamradio/bpqether.c')
-rw-r--r--drivers/net/hamradio/bpqether.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c
index 58f4b1d7bf1f..74529c832ad1 100644
--- a/drivers/net/hamradio/bpqether.c
+++ b/drivers/net/hamradio/bpqether.c
@@ -441,16 +441,15 @@ static int bpq_seq_show(struct seq_file *seq, void *v)
441 "dev ether destination accept from\n"); 441 "dev ether destination accept from\n");
442 else { 442 else {
443 const struct bpqdev *bpqdev = v; 443 const struct bpqdev *bpqdev = v;
444 DECLARE_MAC_BUF(mac);
445 444
446 seq_printf(seq, "%-5s %-10s %s ", 445 seq_printf(seq, "%-5s %-10s %pM ",
447 bpqdev->axdev->name, bpqdev->ethdev->name, 446 bpqdev->axdev->name, bpqdev->ethdev->name,
448 print_mac(mac, bpqdev->dest_addr)); 447 bpqdev->dest_addr);
449 448
450 if (is_multicast_ether_addr(bpqdev->acpt_addr)) 449 if (is_multicast_ether_addr(bpqdev->acpt_addr))
451 seq_printf(seq, "*\n"); 450 seq_printf(seq, "*\n");
452 else 451 else
453 seq_printf(seq, "%s\n", print_mac(mac, bpqdev->acpt_addr)); 452 seq_printf(seq, "%pM\n", bpqdev->acpt_addr);
454 453
455 } 454 }
456 return 0; 455 return 0;