commit 690c9c204542e4f0d2f235597007d6ca31acc960
parent 9f1875fd3d39c9a8f9167cebce2618a0995583b1
Author: Will Dietz <w@wdtz.org>
Date: Tue, 20 Aug 2019 21:27:45 -0500
manager: Fix build
Attached, but basically replace 2-argument call to l_genl_msg_new
with what seems rather likely was intended instead: l_genl_msg_new_sized.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/manager.c b/src/manager.c
@@ -722,7 +722,7 @@ bool manager_init(struct l_genl_family *in,
return false;
}
- msg = l_genl_msg_new(NL80211_CMD_GET_WIPHY, 128);
+ msg = l_genl_msg_new_sized(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,