fix updater mode fail to build wpa

Signed-off-by: benlau <liubin360@huawei.com>
This commit is contained in:
benlau
2025-07-29 20:34:15 +08:00
parent f49a806fbf
commit a2fbf7caec
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -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"
@@ -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;
}