From 438fdacfc246a598bdb476d1cf41c268db822f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E6=B5=B7=E5=A4=A9?= Date: Tue, 21 Nov 2023 10:25:16 +0000 Subject: [PATCH] update wifi/services/wifi_standard/wifi_hal/wifi_hal_module_manage.c. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 余海天 --- wifi/services/wifi_standard/wifi_hal/wifi_hal_module_manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/services/wifi_standard/wifi_hal/wifi_hal_module_manage.c b/wifi/services/wifi_standard/wifi_hal/wifi_hal_module_manage.c index f247d502f..d9d9e99b8 100644 --- a/wifi/services/wifi_standard/wifi_hal/wifi_hal_module_manage.c +++ b/wifi/services/wifi_standard/wifi_hal/wifi_hal_module_manage.c @@ -92,7 +92,7 @@ static void *WpaThreadMain(void *p) #ifdef OHOS_ARCH_LITE void *handleLibWpa = dlopen("libwpa.so", RTLD_NOW | RTLD_LOCAL); #else -#ifdef __aarch64__ +#if defined(__aarch64__) || defined(__x86_64__) void *handleLibWpa = dlopen("/system/lib64/libwpa.z.so", RTLD_NOW | RTLD_LOCAL | RTLD_NODELETE); #else void *handleLibWpa = dlopen("/system/lib/libwpa.z.so", RTLD_NOW | RTLD_LOCAL | RTLD_NODELETE);