From 6c63ff2f702583128f2422d082397734f1dc0656 Mon Sep 17 00:00:00 2001 From: Amin Ben Ramdhane Date: Tue, 3 Sep 2019 12:26:28 +0100 Subject: [PATCH] Fix the issue 'Device.WiFi.AccessPoint.*.Security.' command operate --- dmoperate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmoperate.c b/dmoperate.c index d57dcdc6..03df1556 100644 --- a/dmoperate.c +++ b/dmoperate.c @@ -77,12 +77,12 @@ static void cwmp_init(struct dmctx *dm_ctx, char *path) dmfree(uci_instance); } } - dm_ctx_init(dm_ctx, DM_CWMP, amd, instance); + dm_ctx_init_sub(dm_ctx, DM_CWMP, amd, instance); } static void cwmp_cleanup(struct dmctx *dm_ctx) { - dm_ctx_clean(dm_ctx); + dm_ctx_clean_sub(dm_ctx); } static bool cwmp_get(int operation, char *path, struct dmctx *dm_ctx)