3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00

monitor: Print MAC_ADDRS array

This commit is contained in:
Denis Kenzior 2019-06-21 12:22:08 -05:00
parent 2fd58141a4
commit 3ff9f59ba1

View File

@ -3860,7 +3860,8 @@ static const struct attr_entry attr_table[] = {
{ NL80211_ATTR_ACL_POLICY, { NL80211_ATTR_ACL_POLICY,
"ACL Policy", ATTR_U32 }, "ACL Policy", ATTR_U32 },
{ NL80211_ATTR_MAC_ADDRS, { NL80211_ATTR_MAC_ADDRS,
"MAC Addresses" }, "MAC Addresses", ATTR_ARRAY,
{ .array_type = ATTR_ADDRESS } },
{ NL80211_ATTR_MAC_ACL_MAX, { NL80211_ATTR_MAC_ACL_MAX,
"MAC ACL Max" }, "MAC ACL Max" },
{ NL80211_ATTR_RADAR_EVENT, { NL80211_ATTR_RADAR_EVENT,
@ -3977,6 +3978,8 @@ static void print_value(int indent, const char *label, enum attr_type type,
case ATTR_S64: case ATTR_S64:
case ATTR_STRING: case ATTR_STRING:
case ATTR_ADDRESS: case ATTR_ADDRESS:
print_address(indent, label, buf);
break;
case ATTR_BINARY: case ATTR_BINARY:
case ATTR_NESTED: case ATTR_NESTED:
case ATTR_ARRAY: case ATTR_ARRAY: