revert the commit 98c3869a3c

This commit is contained in:
Omar Kallel 2020-06-04 17:08:32 +01:00
parent 4266617b1b
commit d8bf042598

View file

@ -6,7 +6,11 @@
char * os__get_deviceid_manufacturer()
{
char *v;
db_get_value_string("device", "deviceinfo", "Manufacturer", &v);
dmuci_get_option_value_string("cwmp","cpe","manufacturer", &v);
if (v[0] == '\0') {
db_get_value_string("device", "deviceinfo", "Manufacturer", &v);
return v;
}
return v;
}