diff options
Diffstat (limited to 'net/atm/br2684.c')
-rw-r--r-- | net/atm/br2684.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/net/atm/br2684.c b/net/atm/br2684.c index 81eb4f4cbe10..c742d37bfb97 100644 --- a/net/atm/br2684.c +++ b/net/atm/br2684.c | |||
@@ -709,17 +709,13 @@ static int br2684_seq_show(struct seq_file *seq, void *v) | |||
709 | br2684_devs); | 709 | br2684_devs); |
710 | const struct net_device *net_dev = brdev->net_dev; | 710 | const struct net_device *net_dev = brdev->net_dev; |
711 | const struct br2684_vcc *brvcc; | 711 | const struct br2684_vcc *brvcc; |
712 | DECLARE_MAC_BUF(mac); | ||
712 | 713 | ||
713 | seq_printf(seq, "dev %.16s: num=%d, mac=%02X:%02X:" | 714 | seq_printf(seq, "dev %.16s: num=%d, mac=%s (%s)\n", |
714 | "%02X:%02X:%02X:%02X (%s)\n", net_dev->name, | 715 | net_dev->name, |
715 | brdev->number, | 716 | brdev->number, |
716 | net_dev->dev_addr[0], | 717 | print_mac(mac, net_dev->dev_addr), |
717 | net_dev->dev_addr[1], | 718 | brdev->mac_was_set ? "set" : "auto"); |
718 | net_dev->dev_addr[2], | ||
719 | net_dev->dev_addr[3], | ||
720 | net_dev->dev_addr[4], | ||
721 | net_dev->dev_addr[5], | ||
722 | brdev->mac_was_set ? "set" : "auto"); | ||
723 | 719 | ||
724 | list_for_each_entry(brvcc, &brdev->brvccs, brvccs) { | 720 | list_for_each_entry(brvcc, &brdev->brvccs, brvccs) { |
725 | seq_printf(seq, " vcc %d.%d.%d: encaps=%s" | 721 | seq_printf(seq, " vcc %d.%d.%d: encaps=%s" |