From 34e4bc4dd27507b358e53c0660c86f591b1c4780 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Mon, 27 Mar 2017 09:23:12 -0700 Subject: [PATCH] wifi(implementation): Stop loading vendor library statically libwifi-hal statically imports the vendor implementation of the legacy HAL. Since the HIDL daemon is dynamically linking against libwif-hal, there is no need for it to statically import the vendor implementation library (one pointed to by: $LIBWIFI-HAL variable). Bug: 36169790 Test: Compiles & device is able to connect to wifi networks with the change. Change-Id: Ie44b58328f9bdde011ba6d4a4d26f786c2d097e7 --- wifi/1.0/default/Android.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/wifi/1.0/default/Android.mk b/wifi/1.0/default/Android.mk index cc5e1c648e..13f6cc15dc 100644 --- a/wifi/1.0/default/Android.mk +++ b/wifi/1.0/default/Android.mk @@ -48,6 +48,5 @@ LOCAL_SHARED_LIBRARIES := \ libwifi-hal \ libwifi-system \ libcld80211 -LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL) LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc include $(BUILD_EXECUTABLE)