ctx = uci_alloc_context();
uci_ctx = ctx;
+ ctx->flags &= ~UCI_FLAG_STRICT;
+ if (config_path)
+ uci_set_confdir(ctx, config_path);
+
#ifdef DUMMY_MODE
- uci_set_confdir(ctx, "./config");
uci_set_savedir(ctx, "./tmp");
#endif
} else {
{
blob_buf_init(&b, 0);
uci_to_blob(&b, s, wdev->drv->interface.config);
- wireless_interface_create(wdev, b.head);
+ wireless_interface_create(wdev, b.head, s->e.name);
}
static void