tr181: Add support for MLD STAs
Compare changes
+ 2
− 3
@@ -203,11 +203,10 @@ static int get_HostsHost_AssociatedDevice(char *refparam, struct dmctx *ctx, voi
@@ -203,11 +203,10 @@ static int get_HostsHost_AssociatedDevice(char *refparam, struct dmctx *ctx, voi
bool is1905 = dmuci_string_to_boolean(dmjson_get_value(((struct dm_data *)data)->json_object, 1, "is1905"));
char *linker = dmjson_get_value(((struct dm_data *)data)->json_object, 1, is1905 ? "link_macaddr" : "macaddr");
bbfdm_get_references(ctx, MATCH_FIRST, "Device.WiFi.AccessPoint.*.AssociatedDevice.", "MACAddress", linker, buf, sizeof(buf));