RM6785: Build libwifi-hal-wrapper

- https://github.com/xiaomi-mediatek-devs/android_hardware_mediatek/commit/03dc332fc3887955dec83e896886476fd1a0dc13

Change-Id: Ic772cb1d7a4f1ce71544205db8623873ebc027da
diff --git a/RM6785.mk b/RM6785.mk
index 6b92947..25b5361 100644
--- a/RM6785.mk
+++ b/RM6785.mk
@@ -345,11 +345,11 @@
 PRODUCT_PACKAGES += \
     TetheringConfigOverlayRM6785 \
     WifiOverlayRM6785 \
+    libwifi-hal-wrapper \
     hostapd \
     wpa_supplicant \
     android.hardware.wifi-service-lazy
 
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/configs/wifi/txpowerctrl.cfg:$(TARGET_COPY_OUT_VENDOR)/firmware/txpowerctrl.cfg \
-    $(LOCAL_PATH)/configs/wifi/vendor_hals.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/vendor_hals/vendor_hals.xml \
     $(LOCAL_PATH)/configs/wifi/wifi.cfg:$(TARGET_COPY_OUT_VENDOR)/firmware/wifi.cfg
diff --git a/configs/wifi/vendor_hals.xml b/configs/wifi/vendor_hals.xml
deleted file mode 100644
index 735bf97..0000000
--- a/configs/wifi/vendor_hals.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
- <WifiVendorHal version="1">
- <path>/vendor/lib64/libwifi-hal-mtk.so</path>
- <primary>1</primary>
-</WifiVendorHal>