From 9f1875fd3d39c9a8f9167cebce2618a0995583b1 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 20 Aug 2019 18:04:27 -0500 Subject: [PATCH] manager: Use split wiphy dumps --- src/manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/manager.c b/src/manager.c index 40599e1a..653b57ff 100644 --- a/src/manager.c +++ b/src/manager.c @@ -722,7 +722,8 @@ bool manager_init(struct l_genl_family *in, return false; } - msg = l_genl_msg_new(NL80211_CMD_GET_WIPHY); + msg = l_genl_msg_new(NL80211_CMD_GET_WIPHY, 128); + l_genl_msg_append_attr(msg, NL80211_ATTR_SPLIT_WIPHY_DUMP, 0, NULL); wiphy_dump = l_genl_family_dump(nl80211, msg, manager_wiphy_dump_callback, NULL, NULL);