diff options
Diffstat (limited to 'net/mac80211/debugfs_netdev.c')
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index 2ad504fc3414..69b2fbf35145 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -104,8 +104,7 @@ static ssize_t ieee80211_if_fmt_##name( \ | |||
104 | const struct ieee80211_sub_if_data *sdata, char *buf, \ | 104 | const struct ieee80211_sub_if_data *sdata, char *buf, \ |
105 | int buflen) \ | 105 | int buflen) \ |
106 | { \ | 106 | { \ |
107 | DECLARE_MAC_BUF(mac); \ | 107 | return scnprintf(buf, buflen, "%pM\n", sdata->field); \ |
108 | return scnprintf(buf, buflen, "%s\n", print_mac(mac, sdata->field));\ | ||
109 | } | 108 | } |
110 | 109 | ||
111 | #define __IEEE80211_IF_FILE(name) \ | 110 | #define __IEEE80211_IF_FILE(name) \ |