mirror of
https://gitee.com/openharmony/telephony_ril_adapter
synced 2024-11-23 07:39:57 +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) {
|
||||
rilLibPath = uDevInfo->libPath;
|
||||
} else {
|
||||
TELEPHONY_LOGI("use default vendor lib.");
|
||||
rilLibPath = g_usbModemVendorInfo[DEFAULT_MODE_INDEX].libPath;
|
||||
TELEPHONY_LOGE("no vendor lib");
|
||||
return;
|
||||
}
|
||||
if (rilLibPath == NULL || rilLibPath[0] == '\0') {
|
||||
TELEPHONY_LOGE("dynamic library path is empty");
|
||||
|
Loading…
Reference in New Issue
Block a user