summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
89ccd80)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
if (blob_len(b.head) == 0)
return;
if (blob_len(b.head) == 0)
return;
- device_set_config(dev, dev->type, b.head);
+ if (iface->device_config && dev->default_config)
+ device_set_config(dev, dev->type, b.head);
return;
error_free_config:
free(config);
return;
error_free_config:
free(config);