diff --git a/ethernet/eth_client/BUILD.gn b/ethernet/eth_client/BUILD.gn index 45aa19780a..bd4675bb4b 100644 --- a/ethernet/eth_client/BUILD.gn +++ b/ethernet/eth_client/BUILD.gn @@ -89,6 +89,7 @@ if (defined(ohos_lite)) { ] install_images = [ chipset_base_dir, + updater_vendor_base_dir, ] subsystem_name = "hdf" part_name = "drivers_peripheral_ethernet" diff --git a/ethernet/eth_interfaces/hdi_service/service_common/hdi_wpa_hal.c b/ethernet/eth_interfaces/hdi_service/service_common/hdi_wpa_hal.c index a8ef0c9e2f..c948bf0d8d 100644 --- a/ethernet/eth_interfaces/hdi_service/service_common/hdi_wpa_hal.c +++ b/ethernet/eth_interfaces/hdi_service/service_common/hdi_wpa_hal.c @@ -118,10 +118,6 @@ int WpaCliCmd(const char *cmd, char *buf, size_t bufLen) return ret; } ret = StaCliCmd(GetEthWpaInsCtrl(), cmd, buf, bufLen); - if (strncmp(cmd, "TERMINATE", strlen("TERMINATE")) == 0) { - ReleaseEthWpaGlobalInstance(); - HDF_LOGI("%{public}s: call ReleaseEthWpaGlobalInstance finish", __func__); - } return ret; }