diff options
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index 8ceda33efc12..9efb84c47bb0 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -66,7 +66,8 @@ static ssize_t ieee80211_if_fmt_##name( \ | |||
66 | const struct ieee80211_sub_if_data *sdata, char *buf, \ | 66 | const struct ieee80211_sub_if_data *sdata, char *buf, \ |
67 | int buflen) \ | 67 | int buflen) \ |
68 | { \ | 68 | { \ |
69 | return scnprintf(buf, buflen, MAC_FMT "\n", MAC_ARG(sdata->field));\ | 69 | DECLARE_MAC_BUF(mac); \ |
70 | return scnprintf(buf, buflen, "%s\n", print_mac(mac, sdata->field));\ | ||
70 | } | 71 | } |
71 | 72 | ||
72 | #define __IEEE80211_IF_FILE(name) \ | 73 | #define __IEEE80211_IF_FILE(name) \ |