fix: fix default vendor

Signed-off-by: liujiandong <liujiandong1@huawei.com>
This commit is contained in:
YOUR_NAME 2024-09-25 17:14:20 +08:00
parent 84ed6d2172
commit ce62685fba

View File

@ -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");