mirror of
https://gitee.com/openharmony/telephony_ril_adapter
synced 2024-11-27 09:50:32 +00:00
fix: fix default vendor
Signed-off-by: liujiandong <liujiandong1@huawei.com>
This commit is contained in:
parent
84ed6d2172
commit
ce62685fba
@ -153,8 +153,8 @@ static void LoadVendor(void)
|
|||||||
} else if (uDevInfo != NULL) {
|
} else if (uDevInfo != NULL) {
|
||||||
rilLibPath = uDevInfo->libPath;
|
rilLibPath = uDevInfo->libPath;
|
||||||
} else {
|
} else {
|
||||||
TELEPHONY_LOGI("use default vendor lib.");
|
TELEPHONY_LOGE("no vendor lib");
|
||||||
rilLibPath = g_usbModemVendorInfo[DEFAULT_MODE_INDEX].libPath;
|
return;
|
||||||
}
|
}
|
||||||
if (rilLibPath == NULL || rilLibPath[0] == '\0') {
|
if (rilLibPath == NULL || rilLibPath[0] == '\0') {
|
||||||
TELEPHONY_LOGE("dynamic library path is empty");
|
TELEPHONY_LOGE("dynamic library path is empty");
|
||||||
|
Loading…
Reference in New Issue
Block a user